MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

↓ 2 callersMethod_decode
Decode *body* using the configured, declared, or default encoding. Falls back to a replacing UTF-8 decode rather than failing: partially
lib/crewai-tools/src/crewai_tools/tools/url_read_tool/url_read_tool.py:336
↓ 2 callersFunction_default_embedder
Build default OpenAI embedder for memory.
lib/crewai/src/crewai/memory/unified_memory.py:52
↓ 2 callersFunction_default_max_tokens_for_model
Return the model's documented Messages API max output tokens.
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:75
↓ 2 callersFunction_definition_has_python_type
(defn: dict[str, Any])
lib/crewai/src/crewai/project/json_loader.py:1004
↓ 2 callersFunction_deployment_identifier
Return the best available identifier for a deployment show URL.
lib/cli/src/crewai_cli/deploy/main.py:141
↓ 2 callersFunction_deserialize_schema
(v: Any)
lib/crewai/src/crewai/tools/structured_tool.py:37
↓ 2 callersFunction_destination
(repo_root: Path)
lib/devtools/tests/test_litellm_catalog_update.py:13
↓ 2 callersMethod_detach_usage_aggregation_listener
(self)
lib/crewai/src/crewai/flow/runtime/__init__.py:967
↓ 2 callersFunction_detect_writable_cte
Return the first write command inside a CTE body, or None. Instead of tokenizing the whole statement (which falsely matches column names like
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:115
↓ 2 callersMethod_dict_chunks
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:327
↓ 2 callersMethod_dispatch_execution_end_failure
Dispatch EXECUTION_END with status="failed" for a kickoff that raised. No-op when EXECUTION_START never dispatched (pairing invariant) or whe
lib/crewai/src/crewai/crew.py:2009
↓ 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:2667
↓ 2 callersMethod_display_auth_instructions
Print and open the verification URL the user must visit.
lib/crewai-core/src/crewai_core/auth/oauth2.py:126
↓ 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:821
↓ 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:352
↓ 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:463
↓ 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:227
↓ 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:336
↓ 2 callersMethod_emit_conversation_message_added
Emit a compact transcript event for conversational trace views.
lib/crewai/src/crewai/flow/conversational_mixin.py:911
↓ 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:2742
↓ 2 callersMethod_emit_kickoff_error
Emit a kickoff error event and re-raise.
lib/crewai/src/crewai/agent/core.py:2097
↓ 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: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: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:2238
↓ 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:2939
↓ 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:3363
↓ 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 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:1090
↓ 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:151
↓ 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:3767
↓ 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:2051
↓ 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
← previousnext →2,201–2,300 of 19,482, ranked by callers