MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,484 in github.com/crewAIInc/crewAI

↓ 2 callersFunctionrecord_evaluation_outcome
What the run app did with the evaluation it was opened for. The app runs in a child process for most projects, so nothing in memory reaches t
lib/cli/src/crewai_cli/experimental/eval_crew.py:586
↓ 2 callersFunctionrecord_finished
Count an evaluation that reached a verdict, by the gate's word. `cli_usage:eval` counts the evaluations that started and `eval_stopped:*` the
lib/cli/src/crewai_cli/experimental/eval_crew.py:334
↓ 2 callersMethodregister_entity
Add an entity to the RuntimeState, creating it if needed. Agents that belong to an already-registered Crew are tracked but not append
lib/crewai/src/crewai/events/event_bus.py:338
↓ 2 callersMethodremove_by_file_id
Sync wrapper for aremove_by_file_id.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:465
↓ 2 callersFunctionreplace_the_exporter
Keep the real `Telemetry` from exporting; returns the span every count it sends sets its attributes on.
lib/cli/tests/test_run_usage.py:1095
↓ 2 callersMethodresearch
(self, **kwargs: Any)
lib/crewai-tools/tests/tools/test_tavily_research_tool.py:18
↓ 2 callersMethodreset_all_settings
Reset all CLI configuration parameters to default values.
lib/cli/src/crewai_cli/settings/main.py:98
↓ 2 callersMethodreset_chain
Reset the Responses API auto-chain state.
lib/crewai/src/crewai/llms/providers/azure/completion.py:1408
↓ 2 callersMethodreset_chain
Reset the auto-chain state to start a new conversation. Clears the stored response ID so the next call starts fresh without linking t
lib/crewai/src/crewai/llms/providers/openai/completion.py:499
↓ 2 callersFunctionreset_current_task_id
Reset the current task ID to its previous value.
lib/crewai/src/crewai/context.py:75
↓ 2 callersFunctionreset_stream_sinks
Restore the stream sink context.
lib/crewai/src/crewai/events/stream_context.py:22
↓ 2 callersMethodreset_tool_failures
Clear recorded tool failures before a new execution begins.
lib/crewai/src/crewai/agents/agent_builder/base_agent.py:674
↓ 2 callersMethodresolveCSSVariable
(color)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:263
↓ 2 callersFunctionresolve_class_ref
Return the named class, with an optional base class check.
lib/crewai/src/crewai/utilities/declarative_refs.py:54
↓ 2 callersFunctionresolve_project_definition_path
Resolve a ``[tool.crewai].definition`` path inside ``project_root``.
lib/crewai-core/src/crewai_core/project.py:106
↓ 2 callersMethodresponse
A fake Converse response carrying ``text`` and fixed token usage.
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:104
↓ 2 callersFunctionrewrite_member
(data: bytes, member: str, change)
lib/crewai-files/tests/spreadsheets/test_reading.py:782
↓ 2 callersMethodroots
Return all root nodes — events with no parent. Returns: List of root event nodes.
lib/crewai/src/crewai/state/event_record.py:193
↓ 2 callersMethodroute_turn
(self, context: dict[str, Any])
lib/crewai/tests/test_flow_conversation.py:1048
↓ 2 callersMethodrun
(self)
lib/crewai/tests/test_flow_usage_metrics.py:85
↓ 2 callersFunctionrun_command
(cmd, cwd)
lib/crewai-tools/tests/test_optional_dependencies.py:30
↓ 2 callersFunctionrun_crew
(*args: Any, **kwargs: Any)
lib/cli/src/crewai_cli/cli.py:54
↓ 2 callersFunctionrun_declarative_flow
Run a declarative flow from a definition path. Inputs come from one place: the flow's own state schema. Any ``--inputs`` JSON is layered on t
lib/cli/src/crewai_cli/run_declarative_flow.py:56
↓ 2 callersFunctionrun_flow
()
lib/crewai/tests/test_flow_from_definition.py:1279
↓ 2 callersFunctionrun_for_each_async
Execute crew workflow for each input asynchronously. Args: crew: The crew instance to execute. inputs: List of input dictionaries
lib/crewai/src/crewai/crews/utils.py:424
↓ 2 callersFunctionrun_turn
(flow: Flow[ConversationState], streaming: bool)
lib/crewai/tests/test_flow_context_compaction.py:75
↓ 2 callersFunctionrun_with_rate_limit_retry
Run an operation with retries for transient rate-limit errors only.
lib/crewai/src/crewai/llms/retry.py:124
↓ 2 callersMethodsave_pending_feedback
Save state with a pending feedback marker. This method is called when a flow is paused waiting for async human feedback. The default
lib/crewai/src/crewai/flow/persistence/base.py:70
↓ 2 callersFunctionsave_platform_token
Persist the Enterprise Action Auth Token in the project's ``.env``.
lib/cli/src/crewai_cli/agent_tools.py:112
↓ 2 callersMethodsave_to_json
(self, output_path: str)
lib/crewai-tools/src/crewai_tools/generate_tool_specs.py:189
↓ 2 callersMethodsave_trained_data
Save the trained data for a specific agent. Args: agent_id: The ID of the agent. trained_data: The trained data to be
lib/crewai/src/crewai/utilities/training_handler.py:8
↓ 2 callersMethodsee
(self, payload: dict[str, Any], *, final: bool = False)
lib/cli/src/crewai_cli/experimental/eval_crew.py:2040
↓ 2 callersFunctionselect_agent_tools
Open the onboarding tool picker and return the chosen tool references.
lib/cli/src/crewai_cli/agent_tools.py:31
↓ 2 callersFunctionselect_choice
Presents a list of choices to the user and prompts them to select one. Args: prompt_message: The message to display to the user before pr
lib/cli/src/crewai_cli/provider.py:16
↓ 2 callersFunctionsend_message_and_get_task_id
Send message and process initial response. Handles the common pattern of sending a message and either: - Getting an immediate Message respons
lib/crewai/src/crewai/a2a/task_helpers.py:288
↓ 2 callersFunctionsent_for
(feature: str)
lib/crewai-core/tests/test_smoke.py:382
↓ 2 callersMethodset_attributes
(self, _)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:443
↓ 2 callersFunctionset_current_task_id
Set the current task ID in the context. Returns a token for reset.
lib/crewai/src/crewai/context.py:70
↓ 2 callersMethodset_fingerprint
Set the agent's security fingerprint.
lib/crewai/src/crewai/agent/core.py:1611
↓ 2 callersMethodset_iteration
(self, iteration: int)
lib/crewai/src/crewai/experimental/evaluation/agent_evaluator.py:186
↓ 2 callersMethodset_skills
Load configured skills while preserving explicit disclosure levels. Path strings, Path objects, inline SKILL.md strings, and registry refs
lib/crewai/src/crewai/agent/core.py:623
↓ 2 callersFunctionset_state_field
Set a field on structured or dict flow state when present.
lib/crewai/src/crewai/flow/conversation.py:150
↓ 2 callersFunctionset_tracing_enabled
Set tracing enabled state for current execution context. Args: enabled: Whether tracing should be enabled Returns: A token t
lib/crewai/src/crewai/events/listeners/tracing/utils.py:184
↓ 2 callersFunctionsetup_native_tools
Convert tools to OpenAI schema format for native function calling. Args: original_tools: Original BaseTool instances. Returns:
lib/crewai/src/crewai/utilities/agent_utils.py:1422
↓ 2 callersMethodshould_execute
Determines whether the conditional task should be executed based on the provided context. Args: context: The output from the prev
lib/crewai/src/crewai/tasks/conditional_task.py:41
↓ 2 callersMethodshutdown
(self)
lib/crewai/tests/cli/test_project_created_span.py:28
↓ 2 callersFunctionsignal_end
Signal end of stream. Args: state: The streaming state. is_async: Whether this is an async stream.
lib/crewai/src/crewai/utilities/streaming.py:453
↓ 2 callersFunctionsignal_error
Signal an error in the stream. Args: state: The streaming state. error: The exception to signal. is_async: Whether this i
lib/crewai/src/crewai/utilities/streaming.py:466
↓ 2 callersMethodsimple_agent
(self)
lib/crewai/tests/test_project.py:27
↓ 2 callersMethodsnapshot
Copy serializable turn/reply records, never live execution handles.
lib/crewai/src/crewai/experimental/flow_turns.py:245
↓ 2 callersFunctionsource_name
Best-effort readable name for a hook source.
lib/crewai/src/crewai/hooks/dispatch.py:212
↓ 2 callersFunctionspreadsheet_overviews
The prompt block naming each spreadsheet with its overview, within a total budget (a file that doesn't fit is named without one), and each in
lib/crewai/src/crewai/tools/agent_tools/spreadsheet_tools.py:268
↓ 2 callersMethodstop
(self)
lib/crewai/tests/test_human_feedback_decorator.py:571
↓ 2 callersMethodstop_rpm_counter
Stops the RPM counter and cancels any active timers.
lib/crewai/src/crewai/utilities/rpm_controller.py:66
↓ 2 callersFunctionstream
()
lib/crewai/tests/llms/openai/test_openai.py:2621
↓ 2 callersFunctionstrip_composite_description_prefix
Return the authored text from a pre-composed LLM description block. Descriptions that don't start with the composite shape are returned uncha
lib/crewai/src/crewai/tools/structured_tool.py:133
↓ 2 callersMethodsummary
One-line description suitable for logs and error messages.
lib/crewai/src/crewai/tools/tool_failure.py:141
↓ 2 callersMethodsupports_function_calling
(self)
lib/crewai/tests/llms/test_base_llm.py:37
↓ 2 callersMethodsupports_stop_words
Check if the LLM supports stop words. Returns: True if the LLM supports stop words, False otherwise.
lib/crewai/src/crewai/llms/base_llm.py:662
↓ 2 callersMethodsupports_stop_words
Check if the model supports stop words. Models using the Responses API (GPT-5 family, o-series reasoning models, computer-use-preview
lib/crewai/src/crewai/llms/providers/azure/completion.py:1315
↓ 2 callersMethodtask_callback
Test callback that receives TaskOutput.
lib/crewai/tests/project/test_callback_with_taskoutput.py:22
↓ 2 callersFunctiontask_input_text
A task's description as its inputs filled it in, before crew planning or a crew chat's history is added to it, which are model text.
lib/crewai/src/crewai/agent/spreadsheet_inputs.py:116
↓ 2 callersMethodtemplate_installed_span
Records when a template is downloaded and installed.
lib/crewai-core/src/crewai_core/telemetry.py:680
↓ 2 callersMethodtest_task
Test task with callback.
lib/crewai/tests/project/test_callback_with_taskoutput.py:28
↓ 2 callersMethodto_config_dict
Extend base config with Azure-specific fields.
lib/crewai/src/crewai/llms/providers/azure/completion.py:383
↓ 2 callersMethodto_dict
Convert metrics to dictionary for logging. Returns: Dictionary representation of metrics.
lib/crewai-files/src/crewai_files/cache/metrics.py:43
↓ 2 callersMethodto_dict
Convert the security config to a dictionary. Returns: Dictionary representation of the security config
lib/crewai/src/crewai/security/security_config.py:60
↓ 2 callersMethodto_dict
Convert the fingerprint to a dictionary representation. Returns: Dictionary representation of the fingerprint
lib/crewai/src/crewai/security/fingerprint.py:123
↓ 2 callersMethodto_pydantic_with_completion
Generate structured output and return the raw provider completion too. The completion carries the token usage of the call, summed across
lib/crewai/src/crewai/utilities/internal_instructor.py:154
↓ 2 callersFunctionto_tool_call_arguments
(arguments: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:282
↓ 2 callersMethodtool_repeated_usage
Records when a tool is used repeatedly, which might indicate an issue. Args: llm: The language model being used. tool
lib/crewai/src/crewai/telemetry/telemetry.py:609
↓ 2 callersMethodtool_usage
Records the usage of a tool by an agent. Args: llm: The language model being used. tool_name: Name of the tool being
lib/crewai/src/crewai/telemetry/telemetry.py:634
↓ 2 callersMethodtools
Get the list of converted tools. Returns: List of LangGraph-compatible tools.
lib/crewai/src/crewai/agents/agent_adapters/langgraph/langgraph_tool_adapter.py:93
↓ 2 callersFunctiontracing_already_on
Did somebody turn tracing on already — `CREWAI_TRACING_ENABLED=true`, or the consent a person gave once? A crew that sets `tracing=True` in code i
lib/cli/src/crewai_cli/experimental/eval_crew.py:1012
↓ 2 callersFunctiontracing_credential
Resolve an explicit PAT, integration credential, or saved CLI login.
lib/crewai/src/crewai/telemetry/tracing/grants.py:118
↓ 2 callersFunctiontracing_turned_off
Has this project said no to tracing — `CREWAI_TRACING_ENABLED` false or 0, in its `.env` (which wins, as the run loads it) or else the environment
lib/cli/src/crewai_cli/experimental/eval_crew.py:301
↓ 2 callersFunctiontrack_delegation_if_needed
Track delegation if the tool is a delegation tool. Args: tool_name: Name of the tool being executed. tool_args: Arguments passed
lib/crewai/src/crewai/utilities/agent_utils.py:1264
↓ 2 callersFunctiontransform
(page: str)
lib/devtools/src/crewai_devtools/docs_versioning.py:239
↓ 2 callersFunctiontwo_provider_json_crew
(folder: Path)
lib/cli/tests/test_run_usage.py:1182
↓ 2 callersFunctionunsupported_value_error
What o1/o3 return for reasoning_effort="none" -- not recoverable this way.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:95
↓ 2 callersFunctionunsupported_value_error
A bad *value* -- the model does support the parameter.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:103
↓ 2 callersFunctionuntrusted_amp_stop
Why the crew must not run for an evaluation: its trace would go to an AMP this command does not trust — the one the run traces to, read after
lib/cli/src/crewai_cli/experimental/eval_crew.py:999
↓ 2 callersFunctionupdate_version_in_file
Update __version__ attribute in a Python file. Args: file_path: Path to Python file. new_version: New version string. Return
lib/devtools/src/crewai_devtools/cli.py:278
↓ 2 callersMethodupload_fileobj
( self, fileobj: Any, bucket: str, key: str, **kwargs: Any )
lib/crewai-files/tests/test_bedrock_async_client.py:22
↓ 2 callersFunctionurl_filename
The name of the file ``url`` serves: the one a presigned query names the download, else the last segment of its path, with the extension its p
lib/crewai-files/src/crewai_files/spreadsheets/__init__.py:138
↓ 2 callersFunctionvalidate_a2ui_message
Parse and validate an A2UI server-to-client message. Args: data: Raw JSON-decoded message dict. validate_catalog: If True, also v
lib/crewai/src/crewai/a2a/extensions/a2ui/validator.py:84
↓ 2 callersFunctionvalidate_a2ui_message_v09
Parse and validate an A2UI v0.9 server-to-client message. Args: data: Raw JSON-decoded message dict. Returns: Validated ``A2
lib/crewai/src/crewai/a2a/extensions/a2ui/validator.py:137
↓ 2 callersMethodvalidate_connection
Validate that the embedding service is working correctly. Returns: True if the service is working, False otherwise
lib/crewai-tools/src/crewai_tools/rag/embedding_service.py:336
↓ 2 callersFunctionvalidate_max_execution_time
Validate max_execution_time parameter. Args: max_execution_time: The maximum execution time to validate. Raises: ValueError:
lib/crewai/src/crewai/agent/utils.py:313
↓ 2 callersMethodwait
(self, *, timeout)
lib/cli/tests/test_trace_consent_session.py:140
↓ 2 callersFunctionwith_spreadsheet_tools
``tools`` plus the spreadsheet tools, unless the agent already has a tool of the same name, which is kept.
lib/crewai/src/crewai/agent/spreadsheet_inputs.py:199
↓ 2 callersFunctionwrite_jsonl
(tmp_path, records, name="data.jsonl")
lib/crewai/tests/test_jev_evaluation_runner.py:106
↓ 1 callersMethod__aenter__
Async context manager entry.
lib/crewai/src/crewai/mcp/transports/http.py:183
↓ 1 callersMethod__aenter__
Async context manager entry.
lib/crewai/src/crewai/mcp/transports/stdio.py:158
↓ 1 callersMethod__aenter__
Async context manager entry.
lib/crewai/src/crewai/mcp/transports/sse.py:101
↓ 1 callersMethod__aexit__
Async context manager exit.
lib/crewai/src/crewai/mcp/transports/http.py:187
↓ 1 callersMethod__aexit__
Async context manager exit.
lib/crewai/src/crewai/mcp/transports/stdio.py:162
↓ 1 callersMethod__aexit__
Async context manager exit.
lib/crewai/src/crewai/mcp/transports/sse.py:105
↓ 1 callersMethod__call__
Convert input data to embeddings. Args: input: Input data to embed (documents or images). Returns: List of n
lib/crewai/src/crewai/rag/core/base_embeddings_callable.py:118
↓ 1 callersMethod__copy__
(self)
lib/crewai/src/crewai/agent/core.py:1904
← previousnext →3,001–3,100 of 19,484, ranked by callers