MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions13,496 in github.com/crewAIInc/crewAI

↓ 2 callersMethod_build_async_client
(self)
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:272
↓ 2 callersMethod_build_async_client
(self)
lib/crewai/src/crewai/llms/providers/openai/completion.py:307
↓ 2 callersMethod_build_context_for_todo
Build an isolated execution context for a single todo. Passes only final results from completed dependencies — never execution traces
lib/crewai/src/crewai/experimental/agent_executor.py:609
↓ 2 callersFunction_build_description
Build the LLM-facing description, including the current per-call cap. Args: max_seconds: The per-call cap advertised to the model. R
lib/crewai-tools/src/crewai_tools/tools/wait_tool/wait_tool.py:50
↓ 2 callersMethod_build_execution_prompt
Build the execution prompt, stop words, and RPM limit function. Args: raw_tools: The raw tools available to the agent. R
lib/crewai/src/crewai/agent/core.py:1081
↓ 2 callersMethod_build_file_context
Build context by reading file once. Args: file: The file to build context for. Returns: FileContext with cac
lib/crewai-files/src/crewai_files/resolution/resolver.py:91
↓ 2 callersMethod_build_fingerprint_config
Build fingerprint metadata as a config dict for tool invocation. Returns the fingerprint data in a config dict rather than injecting it
lib/crewai/src/crewai/tools/tool_usage.py:1073
↓ 2 callersFunction_build_long_conversation
Build a multi-turn conversation that produces multiple chunks at max_tokens=200. Each non-system message is ~100-140 estimated tokens (400-560 ch
lib/crewai/tests/utilities/test_agent_utils.py:845
↓ 2 callersFunction_build_model_from_schema
Inner builder shared by the public entry point and recursive nested-object creation. Preprocessing via ``jsonref.replace_refs`` and the sanitizat
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:905
↓ 2 callersMethod_build_name_cache
(self)
lib/crewai-tools/src/crewai_tools/adapters/tool_collection.py:31
↓ 2 callersMethod_build_output_from_result
Build a LiteAgentOutput from an executor result dict. Shared logic used by both sync and async execution paths. Args: re
lib/crewai/src/crewai/agent/core.py:1800
↓ 2 callersFunction_build_path
Build a timestamped checkpoint file path under a branch subdirectory. Filename format: ``{ts}_{uuid8}_p-{parent_id}.json`` Args: dir
lib/crewai/src/crewai/state/provider/json_provider.py:147
↓ 2 callersFunction_build_persistence_definition
(value: Any)
lib/crewai/src/crewai/flow/dsl/_utils.py:265
↓ 2 callersFunction_build_response_with_text_and_tool_calls
Mimic a litellm ModelResponse that contains both content and tool_calls.
lib/crewai/tests/test_llm.py:1133
↓ 2 callersMethod_build_sync_client
(self)
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:313
↓ 2 callersMethod_build_sync_client
(self)
lib/crewai/src/crewai/llms/providers/azure/completion.py:260
↓ 2 callersMethod_build_sync_client
(self)
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:269
↓ 2 callersMethod_build_sync_client
(self)
lib/crewai/src/crewai/llms/providers/openai/completion.py:300
↓ 2 callersFunction_cache_dir
()
lib/cli/src/crewai_cli/model_catalog.py:594
↓ 2 callersFunction_cache_key
Cache key for a provider's resolved model list. Keyed by the exact API key (via a short, non-reversible digest — never the key itself), so sw
lib/cli/src/crewai_cli/model_catalog.py:617
↓ 2 callersMethod_call_handlers
Call provided synchronous handlers. Args: source: The emitting object event: The event instance handlers:
lib/crewai/src/crewai/events/event_bus.py:401
↓ 2 callersMethod_call_llm_with_prompt
Calls the LLM with the planning prompt. Args: prompt: The prompt to send to the LLM. plan_type: The type of plan bein
lib/crewai/src/crewai/utilities/reasoning_handler.py:446
↓ 2 callersMethod_call_responses
Call OpenAI Responses API.
lib/crewai/src/crewai/llms/providers/openai/completion.py:687
↓ 2 callersFunction_catalog_cache_file
()
lib/cli/src/crewai_cli/model_catalog.py:598
↓ 2 callersFunction_chain_deploy
()
lib/cli/src/crewai_cli/run_crew.py:495
↓ 2 callersMethod_check_execution_error
Check if an execution error should be re-raised immediately. Args: e: The exception that occurred. task: The task bei
lib/crewai/src/crewai/agent/core.py:724
↓ 2 callersMethod_check_lockfile
(self)
lib/cli/src/crewai_cli/deploy/validate.py:394
↓ 2 callersMethod_check_pyproject
(self)
lib/cli/src/crewai_cli/deploy/validate.py:347
↓ 2 callersMethod_check_tool_repeated_usage
( self, calling: ToolCalling | InstructorToolCalling )
lib/crewai/src/crewai/tools/tool_usage.py:767
↓ 2 callersMethod_check_version_vs_lockfile
Warn when the lockfile pins a crewai release older than 1.13.0, which is where ``_load_response_format`` was introduced.
lib/cli/src/crewai_cli/deploy/validate.py:914
↓ 2 callersFunction_checkpoint_chain_flow
(tmp_path)
lib/crewai/tests/test_flow_from_definition.py:3949
↓ 2 callersMethod_chunk_doc
(self, doc: DoclingDocument)
lib/crewai/src/crewai/knowledge/source/crew_docling_source.py:154
↓ 2 callersMethod_chunk_text
Utility method to split text into chunks.
lib/crewai/src/crewai/knowledge/source/excel_knowledge_source.py:176
↓ 2 callersMethod_chunk_text
Utility method to split text into chunks.
lib/crewai/src/crewai/knowledge/source/string_knowledge_source.py:36
↓ 2 callersMethod_chunk_text
Utility method to split text into chunks.
lib/crewai/src/crewai/knowledge/source/csv_knowledge_source.py:46
↓ 2 callersMethod_chunk_text
Utility method to split text into chunks.
lib/crewai/src/crewai/knowledge/source/text_file_knowledge_source.py:38
↓ 2 callersMethod_chunk_text
Utility method to split text into chunks.
lib/crewai/src/crewai/knowledge/source/pdf_knowledge_source.py:58
↓ 2 callersMethod_chunk_text
Utility method to split text into chunks.
lib/crewai/src/crewai/knowledge/source/json_knowledge_source.py:58
↓ 2 callersFunction_chunks_with_usage_tail
Three-chunk stream mirroring LiteLLM's include_usage behavior: two content chunks where the second carries finish_reason="stop", then a final
lib/crewai/tests/test_llm_streaming_finish_reason.py:36
↓ 2 callersFunction_classify_gemini_error
Classify a Gemini exception as transient or permanent upload error. Checks Gemini-specific error message patterns first, then falls back to g
lib/crewai-files/src/crewai_files/uploaders/gemini.py:48
↓ 2 callersFunction_classify_s3_error
Classify an S3 exception as transient or permanent upload error. Args: e: The exception to classify. filename: The filename for e
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:28
↓ 2 callersMethod_cleanup_batch_data
Clean up batch data after successful finalization to free memory
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:459
↓ 2 callersMethod_cleanup_mcp_clients
Cleanup MCP client connections after task execution.
lib/crewai/src/crewai/agent/core.py:1250
↓ 2 callersMethod_clear_current_method
Drop the header's active method once it ends. Caller holds the lock. Falls back to another still-active step (methods can overlap) so the
lib/cli/src/crewai_cli/crew_run_tui.py:733
↓ 2 callersFunction_clear_lines
(n: int)
lib/cli/src/crewai_cli/tui_picker.py:71
↓ 2 callersFunction_coerce_int
(value: Any)
lib/crewai/src/crewai/types/usage_metrics.py:13
↓ 2 callersMethod_coerce_response_to_pydantic
Validate an LLM response into the configured Pydantic model. Pure post-processing — performs no I/O. Shared by ``to_pydantic`` and ``
lib/crewai/src/crewai/utilities/converter.py:51
↓ 2 callersFunction_coerce_trigger
(trigger: FlowTrigger)
lib/crewai/src/crewai/flow/dsl/_conditions.py:56
↓ 2 callersMethod_collapse_to_outcome
( self, feedback: str, outcomes: Sequence[str], llm: str | Bas
lib/crewai/src/crewai/experimental/conversational_mixin.py:142
↓ 2 callersMethod_collect_root_identifiers
Collect CEL root identifiers, excluding receiver macro local variables.
lib/crewai/src/crewai/flow/expressions.py:381
↓ 2 callersFunction_colorize_json_line
Append a single line with soft JSON syntax highlighting.
lib/cli/src/crewai_cli/crew_run_tui.py:146
↓ 2 callersFunction_combine_knowledge_context
Combine agent and crew knowledge contexts into a single string. Args: agent: The agent with knowledge contexts. Returns: Com
lib/crewai/src/crewai/agent/utils.py:201
↓ 2 callersFunction_common_strict_pipeline
Shared strict sanitization: inline refs, close objects, require all properties.
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:604
↓ 2 callersMethod_compact_async
Fire-and-forget: compact the table in a daemon background thread.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:213
↓ 2 callersMethod_compile_cel
( expression: str, *, source: str | None = None, environment: Any | None = Non
lib/crewai/src/crewai/flow/expressions.py:346
↓ 2 callersMethod_complete_feedback
Mark the final reviewed answer as the completed executor state.
lib/crewai/src/crewai/experimental/agent_executor.py:3248
↓ 2 callersFunction_completed_event
(mock_emit)
lib/crewai/tests/test_llm_streaming_finish_reason.py:25
↓ 2 callersFunction_compute_backoff_delay
Compute exponential backoff delay with jitter. Args: attempt: The current attempt number (0-indexed). Returns: Delay in seco
lib/crewai-files/src/crewai_files/uploaders/gemini.py:34
↓ 2 callersMethod_condition_met
( self, condition: FlowDefinitionCondition, trigger_method: FlowMethodName, su
lib/crewai/src/crewai/flow/runtime/__init__.py:3120
↓ 2 callersFunction_condition_tree
( condition_type: FlowConditionType, triggers: Sequence[FlowTrigger], )
lib/crewai/src/crewai/flow/dsl/_conditions.py:65
↓ 2 callersMethod_configure_format_from_task
Determine output format and schema from task requirements. This is a helper method that examines the task's output requirements and r
lib/crewai/src/crewai/agents/agent_adapters/base_converter_adapter.py:132
↓ 2 callersFunction_confirm
(label: str, default: bool = False)
lib/cli/src/crewai_cli/create_json_crew.py:271
↓ 2 callersMethod_confirm_zip_input
Prompt before ZIP upload unless confirmation was already supplied.
lib/cli/src/crewai_cli/deploy/main.py:502
↓ 2 callersMethod_connect_kwargs
(self)
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_base_tool.py:127
↓ 2 callersFunction_contains_file_id_reference
Check if any message content contains a file_id reference. Anthropic's Files API is in beta and requires a special header when file_id refere
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:104
↓ 2 callersMethod_conversation_streaming_enabled
(self, llm: Any)
lib/crewai/src/crewai/experimental/conversational_mixin.py:1185
↓ 2 callersMethod_convert_tools_for_interference
Convert CrewAI tool format to OpenAI function calling format.
lib/crewai/src/crewai/llms/providers/openai/completion.py:1848
↓ 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:915
↓ 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 callersMethod_create_crew_output
(self, task_outputs: list[TaskOutput])
lib/crewai/src/crewai/crew.py:1909
↓ 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:180
↓ 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:97
↓ 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:80
↓ 2 callersFunction_create_point_from_document
Create a PointStruct from a document and its embedding. Args: doc: Document dictionary containing content, metadata, and optional doc_id.
lib/crewai/src/crewai/rag/qdrant/utils.py:207
↓ 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:155
↓ 2 callersFunction_create_tag_and_release
Create git tag, push it, and create a GitHub release.
lib/devtools/src/crewai_devtools/cli.py:1218
↓ 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:941
↓ 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:279
↓ 2 callersMethod_credential_scopes_from_env
Read ``AZURE_CREDENTIAL_SCOPES`` (comma-separated) into a list.
lib/crewai/src/crewai/llms/providers/azure/completion.py:162
↓ 2 callersFunction_crew_allowed_fields
()
lib/crewai/src/crewai/project/json_loader.py:1181
↓ 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:1942
↓ 2 callersFunction_definition_has_python_type
(defn: dict[str, Any])
lib/crewai/src/crewai/project/json_loader.py:951
↓ 2 callersFunction_deployment_identifier
Return the best available identifier for a deployment show URL.
lib/cli/src/crewai_cli/deploy/main.py:87
↓ 2 callersFunction_deserialize_schema
(v: Any)
lib/crewai/src/crewai/tools/structured_tool.py:37
↓ 2 callersMethod_detach_usage_aggregation_listener
(self)
lib/crewai/src/crewai/flow/runtime/__init__.py:876
↓ 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:99
↓ 2 callersMethod_dict_chunks
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:327
↓ 2 callersFunction_dict_tool_use_stream_events
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:1420
↓ 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:1969
↓ 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:2515
↓ 2 callersMethod_display_auth_instructions
Print and open the verification URL the user must visit.
lib/crewai-core/src/crewai_core/auth/oauth2.py:117
↓ 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:532
↓ 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:71
↓ 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:208
↓ 2 callersFunction_do_checkpoint
Write a checkpoint and prune old ones if configured.
lib/crewai/src/crewai/state/checkpoint_listener.py:113
↓ 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:87
↓ 2 callersMethod_embed_texts
(self, texts: list[str])
lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py:227
← previousnext →1,301–1,400 of 13,496, ranked by callers