MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

↓ 2 callersMethod_conversation_turn_scope
(self, session_id: str)
lib/crewai/src/crewai/flow/conversational_mixin.py:436
↓ 2 callersMethod_convert_tools_for_interference
Convert CrewAI tool format to OpenAI function calling format.
lib/crewai/src/crewai/llms/providers/openai/completion.py:2327
↓ 2 callersMethod_convert_tools_for_responses
Convert CrewAI tools to Responses API format. Responses API uses internally-tagged format (flat structure): { "type": "fu
lib/crewai/src/crewai/llms/providers/openai/completion.py:1199
↓ 2 callersFunction_copy_method_metadata
Copy method metadata to a wrapper object. Args: wrapper: The wrapper object to update. meth: The method to copy metadata from.
lib/crewai/src/crewai/project/wrappers.py:59
↓ 2 callersFunction_count
(events: list[Any], kind: type)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:325
↓ 2 callersMethod_count_rows
Count rows matching a scope prefix using LanceDB's native count. Unlike _scan_rows, this is not capped at _SCAN_ROWS_LIMIT, so scoped
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:514
↓ 2 callersFunction_count_usage
(feature: str, attributes: dict[str, str] | None = None)
lib/cli/src/crewai_cli/run_crew.py:674
↓ 2 callersMethod_create_crew_output
(self, task_outputs: list[TaskOutput])
lib/crewai/src/crewai/crew.py:1958
↓ 2 callersMethod_create_default_extension_state
Return a default state supplied by an optional runtime extension. ``ignore_declared_state`` is set when a declared ``state:`` block named
lib/crewai/src/crewai/flow/runtime/__init__.py:476
↓ 2 callersMethod_create_field_definition
Create Pydantic field definition based on type and requirement.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:188
↓ 2 callersMethod_create_instructor
Create an instructor.
lib/crewai/src/crewai/utilities/converter.py:203
↓ 2 callersFunction_create_mock_agent_card
Create a mock agent card with proper model_dump behavior.
lib/crewai/tests/agents/test_a2a_trust_completion_status.py:17
↓ 2 callersMethod_create_planner_task
Creates the planner task using the given agent and tasks summary. Args: planning_agent: The agent responsible for planning.
lib/crewai/src/crewai/utilities/planning_handler.py:100
↓ 2 callersMethod_create_planning_agent
Creates the planning agent for the crew planning. Returns: An Agent instance configured for planning tasks.
lib/crewai/src/crewai/utilities/planning_handler.py:83
↓ 2 callersMethod_create_table
Create a new table with the given vector dimension. Caller must already hold ``store_lock(self._lock_name)``.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:180
↓ 2 callersFunction_create_tag_and_release
Create git tag, push it, and create a GitHub release.
lib/devtools/src/crewai_devtools/cli.py:1262
↓ 2 callersMethod_create_temp_raw_file
Helper to write raw content to a temporary file and return its path.
lib/crewai-tools/tests/rag/test_json_loader.py:19
↓ 2 callersMethod_create_trace_event
Create a trace event with ordering information.
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:997
↓ 2 callersMethod_create_transport
Create a fresh transport instance from an MCP server config. Returns a ``(transport, server_name)`` tuple. Each call produces an inde
lib/crewai/src/crewai/mcp/tool_resolver.py:299
↓ 2 callersMethod_created
(self, uuid: str = "new-uuid")
lib/cli/tests/deploy/test_deploy_main.py:2043
↓ 2 callersMethod_credential_scopes_from_env
Read ``AZURE_CREDENTIAL_SCOPES`` (comma-separated) into a list.
lib/crewai/src/crewai/llms/providers/azure/completion.py:171
↓ 2 callersFunction_crew_allowed_fields
()
lib/crewai/src/crewai/project/json_loader.py:1238
↓ 2 callersFunction_crewai_requirement_pin
Return an exact CrewAI pin, or an empty string for a non-exact pin.
lib/devtools/src/crewai_devtools/cli.py:1493
↓ 2 callersFunction_custom_tool_file
Return the validated path of a custom tool inside ``tools/``. Rejects names that aren't plain identifiers and (belt-and-suspenders) any resol
lib/crewai/src/crewai/project/json_loader.py:2036
↓ 2 callersMethod_declared_now
The llm this agent is declared with, as of now. Construction's ``create_llm(self.llm)`` unless the caller assigned another ``llm`` si
lib/crewai/src/crewai/agent/core.py:572
↓ 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:78
↓ 2 callersFunction_definition_has_python_type
(defn: dict[str, Any])
lib/crewai/src/crewai/project/json_loader.py:1006
↓ 2 callersFunction_delegation_artifact
Take ``artifact`` out of kickoff kwargs for a delegating run. Delegation calls the original kickoff once per turn, so the artifact is saved o
lib/crewai/src/crewai/a2a/wrapper.py:409
↓ 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:972
↓ 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:2018
↓ 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:2677
↓ 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:854
↓ 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:2752
↓ 2 callersMethod_emit_kickoff_error
Emit a kickoff error event and re-raise.
lib/crewai/src/crewai/agent/core.py:2196
↓ 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:779
↓ 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:1242
↓ 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: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_async_client
Ensure async client is initialized and return it.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:1310
↓ 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:1746
↓ 2 callersMethod_evaluation_finished
(self, finished: dict[str, Any])
lib/cli/src/crewai_cli/crew_run_tui.py:1708
↓ 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:2337
↓ 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:2949
↓ 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:3373
↓ 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:1096
← previousnext →2,201–2,300 of 19,663, ranked by callers