MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

↓ 2 callersMethod_dispatch_execution_end_failure
Dispatch EXECUTION_END with status="failed" for an execution that raised. Callers enforce the pairing invariant (EXECUTION_START dispatched,
lib/crewai/src/crewai/flow/runtime/__init__.py:2682
↓ 2 callersMethod_display_creation_success
Display success message after crew creation. Args: json_response (Dict[str, Any]): The response containing crew informat
lib/cli/src/crewai_cli/deploy/main.py:823
↓ 2 callersFunction_display_git_remote_help
Explain that ZIP deployment will be used without an origin remote.
lib/cli/src/crewai_cli/deploy/main.py:78
↓ 2 callersMethod_display_logs
Display log messages. Args: log_messages (List[Dict[str, Any]]): The log messages to display.
lib/cli/src/crewai_cli/deploy/main.py:354
↓ 2 callersFunction_display_zip_source
Say which local commit a ZIP is built from. AMP keeps no commit for a ZIP deployment, so this line is the only record of it.
lib/cli/src/crewai_cli/deploy/main.py:86
↓ 2 callersMethod_do_search
Run parallel search across (embeddings x scopes) with filters. Populates ``state.chunk_findings`` and ``state.confidence``. Returns t
lib/crewai/src/crewai/memory/recall_flow.py:89
↓ 2 callersMethod_downgrade_to_text_tool_calling
Switch a running execution from native tools to text tool calls.
lib/crewai/src/crewai/agents/agent_executor.py:468
↓ 2 callersMethod_editable_external_state
( self, state: Mapping[str, Any] | None )
lib/crewai/src/crewai/flow/conversational_mixin.py:653
↓ 2 callersMethod_effective_base_url
The base URL the client is built with; None means OpenAI's own API. Same precedence as `_get_client_params`, where `client_params` win. The
lib/crewai/src/crewai/llms/providers/openai/completion.py:2126
↓ 2 callersMethod_embed_in_batch
Embed a batch of documents with one call, if the embedder supports it. A ``QdrantEmbeddingAdapter`` gets one request per batch instead of one
lib/crewai/src/crewai/rag/qdrant/client.py:106
↓ 2 callersMethod_embed_texts
Generate ordered, finite embeddings matching the configured dimensions.
lib/crewai-tools/src/crewai_tools/tools/azure_documentdb_vector_search_tool/vector_search.py:174
↓ 2 callersMethod_embed_texts
(self, texts: list[str])
lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py:237
↓ 2 callersMethod_emit_checkpoint_completed
Emit the completion event for a successful checkpoint write.
lib/crewai/src/crewai/state/runtime.py:271
↓ 2 callersMethod_emit_checkpoint_failed
Emit the failure event for a checkpoint write.
lib/crewai/src/crewai/state/runtime.py:251
↓ 2 callersMethod_emit_connection_failed
Emit connection failed event.
lib/crewai/src/crewai/mcp/client.py:338
↓ 2 callersMethod_emit_conversation_message_added
Emit a compact transcript event for conversational trace views.
lib/crewai/src/crewai/flow/conversational_mixin.py:987
↓ 2 callersMethod_emit_conversation_route_selected
Emit the conversational routing decision for the current turn.
lib/crewai/src/crewai/flow/conversational_mixin.py:1008
↓ 2 callersFunction_emit_delegation_failed
Emit failure event and return formatted error message.
lib/crewai/src/crewai/a2a/wrapper.py:860
↓ 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:2757
↓ 2 callersMethod_emit_kickoff_error
Emit a kickoff error event and re-raise.
lib/crewai/src/crewai/agent/core.py:2318
↓ 2 callersMethod_emit_plan_step_completed
( self, todo: TodoItem, *, success: bool, result: str | None = None,
lib/crewai/src/crewai/agents/agent_executor.py:657
↓ 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:891
↓ 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:674
↓ 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:1296
↓ 2 callersFunction_encrypted
(origin: str)
lib/crewai-core/src/crewai_core/eval_handshake.py:108
↓ 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:135
↓ 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:534
↓ 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_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:537
↓ 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:65
↓ 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:738
↓ 2 callersMethod_ensure_step_executor
Lazily create the StepExecutor (avoids circular imports).
lib/crewai/src/crewai/agents/agent_executor.py:719
↓ 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:130
↓ 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:1809
↓ 2 callersMethod_evaluation_finished
(self, finished: dict[str, Any])
lib/cli/src/crewai_cli/crew_run_tui.py:1771
↓ 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:2474
↓ 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:2954
↓ 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:3378
↓ 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:316
↓ 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:1475
↓ 2 callersMethod_execute_with_timeout
Execute a task with a timeout. Args: task_prompt: The prompt to send to the agent. task: The task being executed.
lib/crewai/src/crewai/agent/core.py:1208
↓ 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:3000
↓ 2 callersMethod_exporter
(grant: TraceGrant)
lib/crewai/src/crewai/telemetry/tracing/grants.py:347
↓ 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:129
↓ 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:1497
↓ 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:151
↓ 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:92
↓ 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:276
↓ 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:856
↓ 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:3783
↓ 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:1176
↓ 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:1075
↓ 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:989
↓ 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:3776
↓ 2 callersMethod_flow_post_init
Heavy initialization: state creation, events, memory, method registration.
lib/crewai/src/crewai/flow/runtime/__init__.py:851
↓ 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_forget_old_tool_messages
Drop the tool messages of all but the latest replies that keep them.
lib/crewai/src/crewai/flow/conversational.py:300
↓ 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_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
← previousnext →2,401–2,500 of 20,757, ranked by callers