MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions13,496 in github.com/crewAIInc/crewAI

↓ 2 callersMethod_emit_checkpoint_completed
Emit the completion event for a successful checkpoint write.
lib/crewai/src/crewai/state/runtime.py:265
↓ 2 callersMethod_emit_checkpoint_failed
Emit the failure event for a checkpoint write.
lib/crewai/src/crewai/state/runtime.py:245
↓ 2 callersMethod_emit_conversation_message_added
Emit a compact transcript event for conversational trace views.
lib/crewai/src/crewai/experimental/conversational_mixin.py:655
↓ 2 callersMethod_emit_conversation_route_selected
Emit the conversational routing decision for the current turn.
lib/crewai/src/crewai/experimental/conversational_mixin.py:676
↓ 2 callersFunction_emit_delegation_failed
Emit failure event and return formatted error message.
lib/crewai/src/crewai/a2a/wrapper.py:822
↓ 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:2534
↓ 2 callersMethod_emit_kickoff_error
Emit a kickoff error event and re-raise.
lib/crewai/src/crewai/agent/core.py:1751
↓ 2 callersMethod_emit_plan_step_completed
( self, todo: TodoItem, *, success: bool, result: str | None = None,
lib/crewai/src/crewai/experimental/agent_executor.py:424
↓ 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:592
↓ 2 callersMethod_emit_terminal_conversation_turn_event
Emit a terminal turn event and wait for its own handlers.
lib/crewai/src/crewai/experimental/conversational_mixin.py:453
↓ 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 callersMethod_enable_conversation_input
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:946
↓ 2 callersMethod_ensure_async_client
Ensure async client is initialized and return it.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:1171
↓ 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 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:34
↓ 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/experimental/agent_executor.py:505
↓ 2 callersMethod_ensure_step_executor
Lazily create the StepExecutor (avoids circular imports).
lib/crewai/src/crewai/experimental/agent_executor.py:486
↓ 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:233
↓ 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_summary
Return a compact description of environment variables for prompts.
lib/cli/src/crewai_cli/deploy/main.py:79
↓ 2 callersMethod_evaluate_cel
(expression: str, context: dict[str, Any])
lib/crewai/src/crewai/flow/expressions.py:328
↓ 2 callersMethod_evaluation_task
( evaluator_agent: Agent, task_to_evaluate: Task, task_output: str )
lib/crewai/src/crewai/utilities/evaluators/crew_evaluator_handler.py:70
↓ 2 callersMethod_evaluator_agent
(self)
lib/crewai/src/crewai/utilities/evaluators/crew_evaluator_handler.py:58
↓ 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:1890
↓ 2 callersMethod_execute_core
Run the core execution logic of the task.
lib/crewai/src/crewai/task.py:806
↓ 2 callersFunction_execute_declarative_flow_command
(command: list[str])
lib/cli/src/crewai_cli/run_declarative_flow.py:468
↓ 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:2751
↓ 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:3156
↓ 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_tool_with_events
Execute text-parsed tool calls with tool usage events.
lib/crewai/src/crewai/agents/step_executor.py:380
↓ 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:1311
↓ 2 callersMethod_exit_with_action
(self, action: str)
lib/cli/src/crewai_cli/checkpoint_tui.py:702
↓ 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:393
↓ 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:1384
↓ 2 callersMethod_extract_function_calls_from_response
Extract function calls from Responses API output.
lib/crewai/src/crewai/llms/providers/openai/completion.py:1515
↓ 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:151
↓ 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:138
↓ 2 callersMethod_extract_server_name
Extract clean server name from URL for tool prefixing.
lib/crewai/src/crewai/mcp/tool_resolver.py:487
↓ 2 callersMethod_extract_tools_from_message_history
Extract tool definitions from toolUse blocks in message history. When no tools are passed but messages contain toolUse, we need to re
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:1937
↓ 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:725
↓ 2 callersMethod_finalize_conversational_session
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:857
↓ 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:3544
↓ 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:1705
↓ 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:1041
↓ 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:1025
↓ 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:2044
↓ 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:687
↓ 2 callersMethod_flow_context
( flow: Flow[Any], local_context: dict[str, Any] | None = None )
lib/crewai/src/crewai/flow/expressions.py:269
↓ 2 callersFunction_flow_level_persist_yaml
(store)
lib/crewai/tests/test_flow_from_definition.py:3381
↓ 2 callersMethod_flow_post_init
Heavy initialization: state creation, events, memory, method registration.
lib/crewai/src/crewai/flow/runtime/__init__.py:756
↓ 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:748
↓ 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
↓ 2 callersFunction_format_text_block
Format text as a provider-specific content block. Args: text: The text content to format. provider: Provider name for provider-sp
lib/crewai-files/src/crewai_files/formatting/api.py:60
↓ 2 callersFunction_format_tool_output_for_agent
(tool: Any, raw_result: Any)
lib/crewai/src/crewai/tools/structured_tool.py:59
↓ 2 callersMethod_generate_s3_key
Generate a unique S3 key for the file. For FilePath sources with no content provided, computes hash via streaming. Args:
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:187
↓ 2 callersFunction_generate_user_id
Compute an anonymized user identifier from username and machine ID.
lib/crewai/src/crewai/events/listeners/tracing/utils.py:358
↓ 2 callersMethod_generate_uuid
Generate a deterministic UUID based on a seed string. Args: seed: The seed string to use for UUID generation Returns:
lib/crewai/src/crewai/security/fingerprint.py:76
↓ 2 callersMethod_get_api_key
Get the API key from environment variables.
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:61
↓ 2 callersMethod_get_async_client
Get or create the async S3 client.
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:173
↓ 2 callersMethod_get_async_client
Get or create the async Anthropic client.
lib/crewai-files/src/crewai_files/uploaders/anthropic.py:62
↓ 2 callersMethod_get_async_client
Gemini uses a single client for both sync and async calls.
lib/crewai/src/crewai/llms/providers/gemini/completion.py:141
↓ 2 callersMethod_get_async_client
(self)
lib/crewai/src/crewai/llms/providers/azure/completion.py:340
↓ 2 callersFunction_get_audio_duration
Get audio duration in seconds using tinytag if available. Args: content: Raw audio bytes. filename: Optional filename for format
lib/crewai-files/src/crewai_files/processing/validators.py:77
↓ 2 callersMethod_get_client_params
Get client parameters. Args: include_http_client: When True (default) and an interceptor is set, attach a sync ``
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:307
↓ 2 callersMethod_get_connection
Get a connection from the pool or create a new one.
lib/crewai-tools/src/crewai_tools/tools/snowflake_search_tool/snowflake_search_tool.py:160
↓ 2 callersMethod_get_connection
Get a connection from the connection pool. Returns: Connection: A SingleStore database connection Raises: Ex
lib/crewai-tools/src/crewai_tools/tools/singlestore_search_tool/singlestore_search_tool.py:323
↓ 2 callersMethod_get_context
(task: Task, task_outputs: list[TaskOutput])
lib/crewai/src/crewai/crew.py:1856
↓ 2 callersMethod_get_coworker
(coworker: str | None, **kwargs: Any)
lib/crewai/src/crewai/tools/agent_tools/base_agent_tools.py:38
↓ 2 callersMethod_get_default_api_key
Get default API key from environment variables.
lib/crewai-tools/src/crewai_tools/rag/embedding_service.py:89
↓ 2 callersMethod_get_device_code
Request a device code from the provider.
lib/crewai-core/src/crewai_core/auth/oauth2.py:102
↓ 2 callersMethod_get_execution_start_index
(self, tasks: list[Task])
lib/crewai/src/crewai/crew.py:1540
↓ 2 callersMethod_get_field_default
Get default value from a FieldInfo, handling both default and default_factory.
lib/crewai-tools/src/crewai_tools/generate_tool_specs.py:112
↓ 2 callersFunction_get_file_path
Get the filesystem path if file source is FilePath. Args: file: The file input to check. Returns: Path if source is FilePath
lib/crewai-files/src/crewai_files/uploaders/gemini.py:75
↓ 2 callersFunction_get_file_size
Get file size without reading content if possible. Args: file: The file to get size for. Returns: File size in bytes, or Non
lib/crewai-files/src/crewai_files/uploaders/openai.py:46
↓ 2 callersFunction_get_flow_method_definition
(method: Any)
lib/crewai/src/crewai/flow/dsl/_utils.py:100
↓ 2 callersFunction_get_formatter
Get formatter for provider. Args: provider_lower: Lowercase provider name. api: API variant (e.g., "responses" for OpenAI Respons
lib/crewai-files/src/crewai_files/formatting/api.py:310
↓ 2 callersFunction_get_hitl_prompt
(key: str)
lib/crewai/src/crewai/flow/human_feedback.py:228
↓ 2 callersMethod_get_image_format
Get Bedrock image format from content type. Args: content_type: MIME type. Returns: Format string for Bedroc
lib/crewai-files/src/crewai_files/formatting/bedrock.py:188
↓ 2 callersMethod_get_last_user_content
Get the last user message content from _messages for recall/input.
lib/crewai/src/crewai/lite_agent.py:591
↓ 2 callersMethod_get_max_step_iterations
Get max step iterations from planning config or default to 15.
lib/crewai/src/crewai/experimental/agent_executor.py:538
↓ 2 callersMethod_get_memory_systems
Get all available memory systems with their configuration. Returns: Dict containing all memory systems with their reset functions
lib/crewai/src/crewai/crew.py:2372
↓ 2 callersMethod_get_mode
Get the mode mode for a file. Args: file: The file to get mode for. Returns: The file's mode mode, defaultin
lib/crewai-files/src/crewai_files/processing/processor.py:92
↓ 2 callersMethod_get_model_api_key
Get the appropriate API key based on the model being used.
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:259
↓ 2 callersFunction_get_param_count
Return the number of parameters a handler accepts, with caching. Falls back to uncached introspection for unhashable handlers like functools.
lib/crewai/src/crewai/events/utils/handlers.py:18
← previousnext →1,401–1,500 of 13,496, ranked by callers