MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

↓ 2 callersMethod_emit_conversation_route_selected
Emit the conversational routing decision for the current turn.
lib/crewai/src/crewai/flow/conversational_mixin.py:932
↓ 2 callersFunction_emit_delegation_failed
Emit failure event and return formatted error message.
lib/crewai/src/crewai/a2a/wrapper.py:824
↓ 2 callersMethod_emit_flow_failed
Emit ``FlowFailedEvent`` and close out the trace batch for a failed run. Mirrors the terminal block of the success path: drain pending event
lib/crewai/src/crewai/flow/runtime/__init__.py:2730
↓ 2 callersMethod_emit_kickoff_error
Emit a kickoff error event and re-raise.
lib/crewai/src/crewai/agent/core.py:2091
↓ 2 callersMethod_emit_plan_step_completed
( self, todo: TodoItem, *, success: bool, result: str | None = None,
lib/crewai/src/crewai/agents/agent_executor.py:652
↓ 2 callersMethod_emit_skill_usage
Emit usage for always-on skills injected into this task's prompt. Metadata-only skills emit from ``LoadSkillTool`` if the model selects
lib/crewai/src/crewai/agent/core.py:773
↓ 2 callersMethod_emit_terminal_conversation_turn_event
Emit a terminal turn event and wait for its own handlers.
lib/crewai/src/crewai/flow/conversational_mixin.py:637
↓ 2 callersMethod_emit_thinking_chunk_event
Emit thinking/reasoning chunk event from a thinking model. Args: chunk: The thinking text content. from_task: The tas
lib/crewai/src/crewai/llms/base_llm.py:948
↓ 2 callersMethod_emit_with_dependencies
Emit an event with dependency-aware handler execution. Handlers are grouped into execution levels based on their dependencies. Within
lib/crewai/src/crewai/events/event_bus.py:458
↓ 2 callersFunction_empty_stream
()
lib/crewai/tests/agents/test_empty_llm_response_retry.py:290
↓ 2 callersMethod_enable_conversation_input
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1231
↓ 2 callersFunction_end_evaluation
The `eval_id` attribute for the outcome being counted, which ends the evaluation: a later stop in the same context belongs to none.
lib/cli/src/crewai_cli/experimental/eval_crew.py:127
↓ 2 callersMethod_end_stream_display
(self)
lib/crewai/src/crewai/events/utils/console_formatter.py:658
↓ 2 callersMethod_end_trace_execution
(self, token: contextvars.Token[str | None] | None)
lib/crewai/src/crewai/flow/runtime/__init__.py:529
↓ 2 callersFunction_endpoint_settings
ENVIRON's endpoint and proxy settings, keyed by upper-case name.
lib/cli/src/crewai_cli/api_keys.py:89
↓ 2 callersMethod_ensure_async_client
Ensure async client is initialized and return it.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:1299
↓ 2 callersMethod_ensure_executor_initialized
Lazily initialize the thread pool executor and event loop. Called on first emit() to avoid startup overhead when events are never used.
lib/crewai/src/crewai/events/event_bus.py:166
↓ 2 callersMethod_ensure_letter_prefix
Prefix ``mcp_`` when the sanitized server name doesn't start with a letter. Provider function names must start with a letter, so a server nam
lib/crewai/src/crewai/mcp/tool_resolver.py:539
↓ 2 callersFunction_ensure_list_embedding
Convert embedding to list[float] format if needed. Args: embedding: Embedding vector as list or numpy array. Returns: Embedd
lib/crewai/src/crewai/rag/qdrant/utils.py:34
↓ 2 callersMethod_ensure_parent_dir
Make sure the parent directory of `path` exists. Daytona's upload returns 400 if the parent directory is missing. We best-effort mkdi
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_file_tool.py:392
↓ 2 callersMethod_ensure_parent_dir
(sandbox: Any, path: str)
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_file_tool.py:173
↓ 2 callersMethod_ensure_planner_observer
Lazily create the PlannerObserver (avoids circular imports).
lib/crewai/src/crewai/agents/agent_executor.py:733
↓ 2 callersMethod_ensure_step_executor
Lazily create the StepExecutor (avoids circular imports).
lib/crewai/src/crewai/agents/agent_executor.py:714
↓ 2 callersMethod_ensure_table
Return the table, creating it lazily if needed. Args: vector_dim: Dimension hint (e.g. from the first embedding).
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:258
↓ 2 callersMethod_entry_to_dict
(entry: Any)
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_file_tool.py:198
↓ 2 callersFunction_env_flag_enabled
(name: str)
lib/crewai-tools/src/crewai_tools/security/safe_path.py:80
↓ 2 callersMethod_env_flag_enabled
Return whether ``name`` is a conventional yes-value. Yes: ``true``, ``1``, ``yes``, ``on``. No: unset, ``false``, ``0``, ``no``, ``of
lib/crewai-core/src/crewai_core/telemetry.py:327
↓ 2 callersFunction_env_summary
Return a compact description of environment variables for prompts.
lib/cli/src/crewai_cli/deploy/main.py:133
↓ 2 callersFunction_envelope
Replace any payload with a parseable JSON object containing a head preview and the truncation metadata. Used when the structural strategy doe
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:616
↓ 2 callersFunction_eval_id_attribute
()
lib/cli/src/crewai_cli/experimental/eval_crew.py:122
↓ 2 callersMethod_evaluate_cel
( expression: str, context: dict[str, Any], run_context: _CelRunContext )
lib/crewai/src/crewai/flow/expressions.py:414
↓ 2 callersMethod_evaluating
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1735
↓ 2 callersMethod_evaluation_finished
(self, finished: dict[str, Any])
lib/cli/src/crewai_cli/crew_run_tui.py:1697
↓ 2 callersMethod_evaluation_task
( evaluator_agent: Agent, task_to_evaluate: Task, task_output: str )
lib/crewai/src/crewai/utilities/evaluators/crew_evaluator_handler.py:71
↓ 2 callersMethod_evaluator_agent
(self)
lib/crewai/src/crewai/utilities/evaluators/crew_evaluator_handler.py:59
↓ 2 callersFunction_event_from_emit_call
Return the event argument from an emit mock call.
lib/crewai/tests/llms/test_tool_call_streaming.py:47
↓ 2 callersMethod_execute
Execute delegation to an agent with case-insensitive and whitespace-tolerant matching. Args: agent_name: Name/role of th
lib/crewai/src/crewai/tools/agent_tools/base_agent_tools.py:46
↓ 2 callersMethod_execute_and_build_output
Execute the agent synchronously and build the output object.
lib/crewai/src/crewai/agent/core.py:2232
↓ 2 callersFunction_execute_impl
Internal implementation for task execution with optional extensions.
lib/crewai/src/crewai/a2a/utils/task.py:306
↓ 2 callersMethod_execute_method
Execute a method and emit events. Returns: A tuple of (result, finished_event_id) where finished_event_id is the even
lib/crewai/src/crewai/flow/runtime/__init__.py:2927
↓ 2 callersMethod_execute_native
Execute step using native function calling with a multi-turn loop. Iterates LLM call → tool execution → appended results until the LLM
lib/crewai/src/crewai/agents/step_executor.py:576
↓ 2 callersMethod_execute_single_listener
Executes a single listener method with proper event handling. This internal method manages the execution of an individual listener, i
lib/crewai/src/crewai/flow/runtime/__init__.py:3351
↓ 2 callersFunction_execute_task_with_a2a
Wrap execute_task with A2A delegation logic. Args: self: The agent instance a2a_agents: Dictionary of A2A agent configurations
lib/crewai/src/crewai/a2a/wrapper.py:302
↓ 2 callersMethod_execute_text_parsed
Execute step using text-parsed tool calling with a multi-turn loop. Iterates LLM call → tool execution → observation until the LLM pr
lib/crewai/src/crewai/agents/step_executor.py:337
↓ 2 callersMethod_execute_text_tool_with_events
Execute text-parsed tool calls with tool usage events.
lib/crewai/src/crewai/agents/step_executor.py:417
↓ 2 callersMethod_execute_tools_and_collect_results
Execute tools and collect results in Anthropic format. Args: tool_uses: List of tool use blocks from Claude's response (regular o
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:1472
↓ 2 callersFunction_exercise
Run every storage operation once.
lib/crewai/tests/storage/test_kickoff_task_outputs_storage.py:23
↓ 2 callersMethod_exit_with_action
(self, action: Literal["resume", "fork"])
lib/cli/src/crewai_cli/checkpoint_tui.py:703
↓ 2 callersFunction_export_root_is_a_link
Stop: whoever made FOLDER a link chose where it leads, not this command.
lib/cli/src/crewai_cli/experimental/eval_crew.py:2826
↓ 2 callersMethod_exporter
(grant: TraceGrant)
lib/crewai/src/crewai/telemetry/tracing/grants.py:291
↓ 2 callersFunction_extension
(file: FileInput)
lib/crewai-files/src/crewai_files/spreadsheets/__init__.py:132
↓ 2 callersFunction_extract_all_trigger_names
( condition: FlowDefinitionCondition, )
lib/crewai/src/crewai/flow/visualization/builder.py:99
↓ 2 callersMethod_extract_command
Return the uppercased first keyword of *sql_query*.
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:414
↓ 2 callersMethod_extract_env_vars_from_model_fields
( model_fields: dict[str, FieldInfo], )
lib/crewai-tools/src/crewai_tools/generate_tool_specs.py:127
↓ 2 callersMethod_extract_finish_reason_and_id
Extract raw finish_reason and response_id from a Gemini ``GenerateContentResponse``. ``finish_reason`` is the protobuf enum's ``.name`
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1484
↓ 2 callersMethod_extract_function_calls_from_response
Extract function calls from Responses API output.
lib/crewai/src/crewai/llms/providers/openai/completion.py:1825
↓ 2 callersFunction_extract_main_query_after_cte
Extract the main (outer) query that follows all CTE definitions. For ``WITH cte AS (SELECT 1) DELETE FROM users``, returns ``DELETE FROM users``.
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:167
↓ 2 callersMethod_extract_schema_info
Extract schema properties and required fields from action schema.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:96
↓ 2 callersFunction_extract_search_params
Extract search parameters from kwargs. Args: kwargs: Keyword arguments containing search parameters. Returns: ExtractedSearc
lib/crewai/src/crewai/rag/chromadb/utils.py:138
↓ 2 callersMethod_extract_server_name
Extract clean server name from URL for tool prefixing.
lib/crewai/src/crewai/mcp/tool_resolver.py:529
↓ 2 callersMethod_extract_zip
Extract a GitHub zipball into dest, stripping the top-level directory.
lib/cli/src/crewai_cli/remote_template/main.py:218
↓ 2 callersFunction_fallback_content_type
Get content type from filename extension, then content sniffing. The extension lookup runs first so specific types like ``text/csv`` or ``app
lib/crewai-files/src/crewai_files/core/sources.py:90
↓ 2 callersFunction_fetch_agent_cards_concurrently
Fetch agent cards concurrently for multiple A2A agents. Args: a2a_agents: List of A2A agent configurations Returns: Tuple of
lib/crewai/src/crewai/a2a/wrapper.py:262
↓ 2 callersMethod_fetch_initial_token
Fetch initial access token using authorization code flow. Args: client: HTTP client for making token request. Raises:
lib/crewai/src/crewai/a2a/auth/client_schemes.py:480
↓ 2 callersMethod_file_info_to_dict
(info: Any)
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_file_tool.py:494
↓ 2 callersFunction_filter_supported_files
Filter files to those with supported content types. Args: files: All files. supported_types: MIME type prefixes to allow. Re
lib/crewai-files/src/crewai_files/formatting/api.py:259
↓ 2 callersMethod_finalize_completion_response
Finalize completion response with validation and event emission. Args: content: The response content contents: Origin
lib/crewai/src/crewai/llms/providers/gemini/completion.py:847
↓ 2 callersFunction_finalize_frame_streaming
( state: FrameStreamingState, stream_session: StreamSession[Any] | AsyncStreamSession[Any], )
lib/crewai/src/crewai/utilities/streaming.py:245
↓ 2 callersMethod_finalize_human_feedback
( self, *, method_name: str, method_output: Any, raw_feedback: str,
lib/crewai/src/crewai/flow/runtime/__init__.py:3755
↓ 2 callersMethod_finalize_kickoff
Apply guardrails, save to memory, and emit completion event. Args: output: The execution output. executor: The agent
lib/crewai/src/crewai/agent/core.py:2045
↓ 2 callersFunction_finalize_streaming
Finalize streaming by unregistering handler and setting result. Args: state: The streaming state to finalize. streaming_output: T
lib/crewai/src/crewai/utilities/streaming.py:384
↓ 2 callersMethod_finalize_streaming_response
Finalize streaming response with usage tracking, function execution, and events. Args: full_response: The complete streamed respo
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1163
↓ 2 callersMethod_finalize_streaming_response
Finalize streaming response with usage tracking, tool execution, and events. Args: full_response: The complete streamed response
lib/crewai/src/crewai/llms/providers/azure/completion.py:1072
↓ 2 callersMethod_finalize_streaming_response
Finalize a streaming response with usage tracking, tool call handling, and events. Args: full_response: The accumulated text resp
lib/crewai/src/crewai/llms/providers/openai/completion.py:2541
↓ 2 callersMethod_finalize_task_execution
Finalize task execution with RPM cleanup, tool processing, and event emission. Args: task: The task that was executed.
lib/crewai/src/crewai/agent/core.py:871
↓ 2 callersFunction_first_int
Return the first integer-coercible value from ``usage_data`` under any of ``keys``. Falls back to ``0`` when nothing matches.
lib/crewai/src/crewai/types/usage_metrics.py:22
↓ 2 callersMethod_flow_context
( flow: Flow[Any], local_context: dict[str, Any] | None = None )
lib/crewai/src/crewai/flow/expressions.py:348
↓ 2 callersFunction_flow_level_persist_yaml
(store)
lib/crewai/tests/test_flow_from_definition.py:3662
↓ 2 callersMethod_flow_post_init
Heavy initialization: state creation, events, memory, method registration.
lib/crewai/src/crewai/flow/runtime/__init__.py:846
↓ 2 callersFunction_flow_uses_human_feedback
True if any declarative method declares ``@human_feedback``. Such flows need the flow runtime's interactive stdin / Rich prompts, which don't
lib/cli/src/crewai_cli/run_declarative_flow.py:260
↓ 2 callersFunction_format_block
Format a single file block using the appropriate formatter. Args: formatter: Provider formatter. file_input: Original file input.
lib/crewai-files/src/crewai_files/formatting/api.py:345
↓ 2 callersMethod_format_messages
Format messages for the LLM. Args: messages: Input messages to format. response_format: Optional response format to u
lib/crewai/src/crewai/lite_agent.py:883
↓ 2 callersMethod_format_result
Describe the completed wait back to the model. Args: waited: The duration actually waited. requested: The duration th
lib/crewai-tools/src/crewai_tools/tools/wait_tool/wait_tool.py:182
↓ 2 callersMethod_format_result
(self, result: Any)
lib/crewai/src/crewai/tools/tool_usage.py:760
↓ 2 callersFunction_format_seconds
Render a duration with a correctly pluralized unit. Args: value: The duration in seconds. Returns: The duration and its unit
lib/crewai-tools/src/crewai_tools/tools/wait_tool/wait_tool.py:38
↓ 2 callersFunction_format_text_block
Format text as a provider-specific content block. Args: text: The text content to format. provider: Provider name for provider-sp
lib/crewai-files/src/crewai_files/formatting/api.py:60
↓ 2 callersFunction_format_tool_output_for_agent
(tool: Any, raw_result: Any)
lib/crewai/src/crewai/tools/structured_tool.py:59
↓ 2 callersFunction_full_crewai_install_error
()
lib/cli/src/crewai_cli/run_crew.py:150
↓ 2 callersFunction_generate_condition
( metadata_key: str, value: Any, bind_variables: list[Any] )
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:257
↓ 2 callersMethod_generate_s3_key
Generate a unique S3 key for the file. For FilePath sources with no content provided, computes hash via streaming. Args:
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:188
↓ 2 callersFunction_generate_user_id
Compute an anonymized user identifier from username and machine ID.
lib/crewai/src/crewai/events/listeners/tracing/utils.py:402
↓ 2 callersMethod_generate_uuid
Generate a deterministic UUID based on a seed string. Args: seed: The seed string to use for UUID generation Returns:
lib/crewai/src/crewai/security/fingerprint.py:76
↓ 2 callersMethod_get_api_key
Get the API key from environment variables.
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:61
↓ 2 callersMethod_get_async_client
Get or create the aioboto3 session.
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:174
↓ 2 callersMethod_get_async_client
Get or create the async Anthropic client.
lib/crewai-files/src/crewai_files/uploaders/anthropic.py:62
↓ 2 callersMethod_get_async_client
Gemini uses a single client for both sync and async calls.
lib/crewai/src/crewai/llms/providers/gemini/completion.py:157
↓ 2 callersMethod_get_async_client
(self)
lib/crewai/src/crewai/llms/providers/azure/completion.py:378
↓ 2 callersFunction_get_audio_duration
Get audio duration in seconds using tinytag if available. Args: content: Raw audio bytes. filename: Optional filename for format
lib/crewai-files/src/crewai_files/processing/validators.py:77
↓ 2 callersMethod_get_azure_credential
Reuse the injected credential or create an internally owned default.
lib/crewai-tools/src/crewai_tools/tools/azure_documentdb_vector_search_tool/vector_search.py:160
↓ 2 callersMethod_get_client_params
Get client parameters. Args: include_http_client: When True (default) and an interceptor is set, attach a sync ``
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:445
← previousnext →2,201–2,300 of 19,264, ranked by callers