MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

↓ 2 callersFunction_cel_environment
()
lib/crewai/src/crewai/flow/expressions.py:49
↓ 2 callersFunction_cel_function_registry
()
lib/crewai/src/crewai/flow/expressions.py:38
↓ 2 callersFunction_chain_deploy
()
lib/cli/src/crewai_cli/run_crew.py:975
↓ 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:908
↓ 2 callersMethod_check_lockfile
(self)
lib/cli/src/crewai_cli/deploy/validate.py:547
↓ 2 callersMethod_check_tool_repeated_usage
( self, calling: ToolCalling | InstructorToolCalling )
lib/crewai/src/crewai/tools/tool_usage.py:779
↓ 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:1182
↓ 2 callersFunction_checkpoint_chain_flow
(tmp_path)
lib/crewai/tests/test_flow_from_definition.py:4513
↓ 2 callersFunction_chunk
(content: str)
lib/crewai/tests/test_llm_litellm_streaming_errors.py:83
↓ 2 callersFunction_chunk
(content: str | None)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:286
↓ 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:474
↓ 2 callersMethod_cleanup_mcp_clients
Cleanup MCP client connections after task execution.
lib/crewai/src/crewai/agent/core.py:1497
↓ 2 callersMethod_clear_context
(self)
lib/crewai/src/crewai/telemetry/tracing/session.py:279
↓ 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:976
↓ 2 callersMethod_close_transport_context
Exit the streamable-HTTP context if one is pending.
lib/crewai/src/crewai/mcp/transports/http.py:72
↓ 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/flow/conversational_mixin.py:289
↓ 2 callersMethod_collect_root_identifiers
Collect CEL root identifiers, excluding receiver macro local variables.
lib/crewai/src/crewai/flow/expressions.py:469
↓ 2 callersFunction_colorize_json_line
Append a single line with soft JSON syntax highlighting.
lib/cli/src/crewai_cli/crew_run_tui.py:150
↓ 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:210
↓ 2 callersFunction_common_strict_pipeline
Shared strict sanitization: inline refs, close objects, require all properties.
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:606
↓ 2 callersMethod_compact_async
Fire-and-forget: compact the table in a daemon background thread.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:238
↓ 2 callersMethod_compile_cel
( expression: str, *, source: str | None = None, environment: Any | None = Non
lib/crewai/src/crewai/flow/expressions.py:436
↓ 2 callersMethod_complete_feedback
Mark the final reviewed answer as the completed executor state.
lib/crewai/src/crewai/agents/agent_executor.py:3589
↓ 2 callersFunction_completed_event
(mock_emit)
lib/crewai/tests/test_llm_streaming_finish_reason.py:25
↓ 2 callersFunction_completion
(message: dict)
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:474
↓ 2 callersMethod_completion_usage
Usage from a raw LiteLLM completion, read from ``model_extra``. Avoids ``isinstance(..., ModelResponseBase)``: that name stays None u
lib/crewai/src/crewai/llm.py:2239
↓ 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:3315
↓ 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 callersMethod_configured_api_key
The key from an explicit value, the provider's env var, or its default. None when a required key is not set: like the native providers, it is
lib/crewai/src/crewai/llms/providers/openai_compatible/completion.py:193
↓ 2 callersFunction_configured_model
The model `MODEL` and its aliases name for the run. A JSON crew's run applies the `.env` over the environment (`run_crew.load_project_env`); a
lib/cli/src/crewai_cli/api_keys.py:610
↓ 2 callersFunction_confirm
(label: str, default: bool = False)
lib/cli/src/crewai_cli/create_json_crew.py:343
↓ 2 callersMethod_confirm_zip_input
Prompt before ZIP upload unless confirmation was already supplied.
lib/cli/src/crewai_cli/deploy/main.py:788
↓ 2 callersMethod_connect_kwargs
(self)
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_base_tool.py:127
↓ 2 callersFunction_constant
NODE's value when it is a string constant, or an f-string with no field.
lib/cli/src/crewai_cli/api_keys.py:432
↓ 2 callersFunction_context_window_error
()
lib/crewai/tests/test_llm_litellm_streaming_errors.py:190
↓ 2 callersMethod_context_window_sizes
Pick a provider catalog when the model id is provider-qualified. The merged catalog lets Azure's ``gpt-4`` override OpenAI's. Qualified
lib/crewai/src/crewai/llm.py:2630
↓ 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 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:1949
↓ 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:471
↓ 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 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: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:992
↓ 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:1236
↓ 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:2034
↓ 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:566
↓ 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:2655
↓ 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_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
← previousnext →2,101–2,200 of 19,264, ranked by callers