MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

↓ 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 callersFunction_full_crewai_install_error
()
lib/cli/src/crewai_cli/run_crew.py:150
↓ 2 callersFunction_generate_condition
( metadata_key: str, value: Any, bind_variables: list[Any] )
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:257
↓ 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:188
↓ 2 callersFunction_generate_user_id
Compute an anonymized user identifier from username and machine ID.
lib/crewai/src/crewai/events/listeners/tracing/utils.py:404
↓ 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 aioboto3 session.
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:174
↓ 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:160
↓ 2 callersMethod_get_async_client
(self)
lib/crewai/src/crewai/llms/providers/azure/completion.py:381
↓ 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:84
↓ 2 callersMethod_get_azure_credential
Reuse the injected credential or create an internally owned default.
lib/crewai-tools/src/crewai_tools/tools/azure_documentdb_vector_search_tool/vector_search.py:160
↓ 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:448
↓ 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:1905
↓ 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:95
↓ 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:114
↓ 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:101
↓ 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:261
↓ 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/agents/agent_executor.py:771
↓ 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:2520
↓ 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:93
↓ 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
↓ 2 callersFunction_get_schema_generator
Get a SchemaGenerator that omits non-serializable defaults.
lib/crewai/src/crewai/utilities/project_utils.py:521
↓ 2 callersFunction_get_span_duration_ms
(span: Span, end_event: Any)
lib/crewai/src/crewai/telemetry/tracing/handlers.py:744
↓ 2 callersMethod_get_step_timeout
Get per-step timeout from planning config or default to None.
lib/crewai/src/crewai/agents/agent_executor.py:778
↓ 2 callersFunction_get_supported_types
Get list of supported MIME type prefixes from constraints. Args: constraints: Provider constraints. Returns: List of MIME ty
lib/crewai-files/src/crewai_files/formatting/api.py:228
↓ 2 callersMethod_get_system_prompt
Get the system prompt for planning. Returns: The system prompt, either custom or from I18N_DEFAULT.
lib/crewai/src/crewai/utilities/reasoning_handler.py:478
↓ 2 callersFunction_get_tls_verify
Get TLS verify parameter from auth scheme. Args: auth: Optional authentication scheme with TLS config. Returns: SSL context,
lib/crewai/src/crewai/a2a/utils/agent_card.py:43
↓ 2 callersMethod_get_transfer_config
Get boto3 TransferConfig for multipart uploads.
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:227
↓ 2 callersFunction_get_turn_context
Get context for a delegation turn. Returns: Tuple of (agent_branch, accepted_output_modes).
lib/crewai/src/crewai/a2a/wrapper.py:1030
↓ 2 callersFunction_git
(cwd, *args: str)
lib/cli/tests/test_git.py:160
↓ 2 callersMethod_gracefully_fail
Handle errors gracefully without disrupting user experience.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:240
↓ 2 callersMethod_guard_kickoff_output
( self, output: LiteAgentOutput, executor: AgentExecutor, inputs: dict[str, st
lib/crewai/src/crewai/agent/core.py:2259
↓ 2 callersMethod_handle_api_error
Handle API errors with appropriate logging and events. Args: error: The exception that occurred from_task: Task that
lib/crewai/src/crewai/llms/providers/azure/completion.py:447
↓ 2 callersMethod_handle_client_error
Handle AWS ClientError with specific error codes and return error message.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:2231
↓ 2 callersMethod_handle_completion
Handle non-streaming chat completion.
lib/crewai/src/crewai/llms/providers/azure/completion.py:977
↓ 2 callersMethod_handle_completion_error
Handle completion-specific errors including context length checks. Args: error: The exception that occurred from_task
lib/crewai/src/crewai/llms/providers/azure/completion.py:485
↓ 2 callersMethod_handle_converse
Handle non-streaming converse API call following AWS best practices.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:736
↓ 2 callersMethod_handle_crew_training_output
Handle training output.
lib/crewai/src/crewai/core/providers/human_input.py:38
↓ 2 callersMethod_handle_human_feedback
Process human feedback and refine answer. Args: formatted_answer: Initial agent result. Returns: Final answe
lib/crewai/src/crewai/agents/agent_executor.py:3559
↓ 2 callersFunction_handle_max_turns_exceeded
Handle the case when max turns is exceeded. Shared logic for both sync and async delegation. Returns: Final message if found in hist
lib/crewai/src/crewai/a2a/wrapper.py:799
↓ 2 callersMethod_handle_streaming_tool_calls
( self, tool_calls: list[ChatCompletionDeltaToolCall], accumulated_tool_args: defaultd
lib/crewai/src/crewai/llm.py:1195
↓ 2 callersMethod_handle_structured_output_tool_call
Validate and emit event for structured_output tool call. Args: structured_data: The arguments passed to the structured_output too
lib/crewai/src/crewai/llms/providers/gemini/completion.py:908
↓ 2 callersFunction_handle_task_completion
Handle task completion state including reference task updates. When a remote task completes, this function: 1. Adds the completed task_id to
lib/crewai/src/crewai/a2a/wrapper.py:1104
↓ 2 callersFunction_handler_for
The handler `setup_listeners` actually registered for an event type. Called directly rather than through ``bus.emit``. ``emit`` carries its own
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:267
↓ 2 callersMethod_has_custom_openai_base_url
Return whether this call explicitly configures a custom endpoint.
lib/crewai/src/crewai/llm.py:600
↓ 2 callersFunction_has_sql_comment
Return True if *sql* contains a comment marker anywhere. Read-only validation refuses commented statements rather than stripping or skipping
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:78
↓ 2 callersFunction_header_columns
(output: str)
lib/crewai-tools/tests/tools/test_databricks_query_tool.py:54
↓ 2 callersMethod_headers
()
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/integrations_client.py:225
↓ 2 callersFunction_homes
HOME (and XDG_DATA_HOME) as the environment says, and the home the account database gives this user — what a project's `.env` cannot set.
lib/crewai/tests/telemetry/test_trace_consent_asked.py:791
↓ 2 callersFunction_hook_verbose
Whether swallowed-hook-error warnings should be printed. Mirrors the pre-dispatcher behavior where a failing tool hook surfaced a warning whe
lib/crewai/src/crewai/hooks/tool_hooks.py:164
↓ 2 callersFunction_host
(url: str)
lib/cli/src/crewai_cli/api_keys.py:479
↓ 2 callersFunction_host_asks_for_trace_consent
A host such as the terminal UI asks with its own screen (``crewai.telemetry.tracing.ephemeral.trace_consent``).
lib/crewai/src/crewai/events/listeners/tracing/utils.py:541
↓ 2 callersFunction_http_status_error
(status_code: int)
lib/crewai/tests/mcp/test_client_connect_auth.py:46
↓ 2 callersFunction_id_in_filter
Build an ``id IN (...)`` predicate that matches each ID literally.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:49
↓ 2 callersFunction_image_file
()
lib/crewai-files/tests/test_bedrock_async_client.py:54
↓ 2 callersMethod_import_sdk
(cls)
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:105
↓ 2 callersFunction_in_a_project
A cwd that `crewai run` accepts, so execution reaches the backfill call.
lib/crewai/tests/cli/test_project_id_backfill.py:116
↓ 2 callersMethod_index_exists
( self, index_name: str, table_name: str | None = None, owner: str | None = No
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:621
↓ 2 callersFunction_info_sqlite_id
(db_path: str, checkpoint_id: str)
lib/cli/src/crewai_cli/checkpoint_cli.py:325
↓ 2 callersFunction_info_sqlite_latest
(db_path: str)
lib/cli/src/crewai_cli/checkpoint_cli.py:312
↓ 2 callersFunction_init_delegation_state
Initialize delegation state from context and agent cards. Args: ctx: Delegation context with config and settings. agent_cards: Pr
lib/crewai/src/crewai/a2a/wrapper.py:1004
↓ 2 callersMethod_init_responses_delegate
Create an OpenAICompletion delegate for the Azure OpenAI Responses API. The Azure OpenAI Responses API uses the standard OpenAI Python SDK
lib/crewai/src/crewai/llms/providers/azure/completion.py:198
↓ 2 callersMethod_init_trace
Initialize a trace entry. Args: trace_key: The key to store the trace under. **kwargs: Trace metadata to store.
lib/crewai/src/crewai/experimental/evaluation/evaluation_listener.py:167
↓ 2 callersMethod_initialize_client
Initialize the Google Gen AI client with proper parameter handling. Args: use_vertexai: Whether to use Vertex AI (from environmen
lib/crewai/src/crewai/llms/providers/gemini/completion.py:245
↓ 2 callersMethod_initialize_state
Initialize or update flow state with new inputs. Args: inputs: Dictionary of state values to set/update Raises:
lib/crewai/src/crewai/flow/runtime/__init__.py:1918
↓ 2 callersMethod_inject_delegation_tools
( self, tools: list[BaseTool], task_agent: BaseAgent, agents: Sequence[BaseAge
lib/crewai/src/crewai/crew.py:1777
↓ 2 callersMethod_inject_files_from_inputs
Inject files into the last user message. Args: inputs: Input dictionary that may contain a 'files' key.
lib/crewai/src/crewai/agents/agent_executor.py:3498
↓ 2 callersFunction_input_msg
(raw: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:302
↓ 2 callersFunction_install_project_dependencies_if_needed
Prepare project dependencies without mutating existing lockfiles.
lib/cli/src/crewai_cli/run_crew.py:559
↓ 2 callersMethod_install_repo
Download and extract a template repo into the current directory. Args: repo_name: Full GitHub repo name (e.g. template_deep_resea
lib/cli/src/crewai_cli/remote_template/main.py:108
↓ 2 callersFunction_instantiate_agent_from_data
Resolve the agent class and kwargs from definition data and instantiate it.
lib/crewai/src/crewai/project/json_loader.py:218
↓ 2 callersMethod_invoke_loop
Invoke the agent loop and return the result.
lib/crewai/src/crewai/core/providers/human_input.py:30
↓ 2 callersFunction_is_a_link
A symbolic link, or a Windows junction, which `is_symlink` misses.
lib/cli/src/crewai_cli/experimental/eval_crew.py:2731
↓ 2 callersMethod_is_azure_openai_endpoint
(endpoint: str | None)
lib/crewai/src/crewai/llms/providers/azure/completion.py:165
↓ 2 callersFunction_is_cacheable
Whether a provider's resolved catalog may be cached. Ollama is a local server (``/api/tags`` is fast), and its installed models change out-of
lib/cli/src/crewai_cli/model_catalog.py:607
↓ 2 callersMethod_is_claude_model
(self)
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:162
↓ 2 callersFunction_is_excluded
Return True when a file should be omitted from deployment ZIPs.
lib/cli/src/crewai_cli/deploy/archive.py:117
↓ 2 callersFunction_is_fine_tune
A user fine-tune or training checkpoint (``ft:...`` / ``...:ckpt-step-N``). These are account-specific artifacts: they clutter the picker, crowd
lib/cli/src/crewai_cli/model_catalog.py:489
↓ 2 callersMethod_is_inside_active_flow_context
True when ``kickoff_async`` has set ``current_flow_id`` (nested crew).
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:832
↓ 2 callersFunction_is_ipv4_pattern
Check if a string matches an IPv4 address pattern. Args: name: The string to check Returns: True if the string matches an IP
lib/crewai/src/crewai/rag/chromadb/utils.py:297
↓ 2 callersFunction_is_listed_private_host
Whether *hostname* matches an entry of the private-host allowlist.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:255
↓ 2 callersFunction_is_missing_crewai_package
(exc: ModuleNotFoundError)
lib/cli/src/crewai_cli/run_crew.py:146
↓ 2 callersMethod_is_router
(self, method_name: FlowMethodName)
lib/crewai/src/crewai/flow/runtime/__init__.py:607
↓ 2 callersFunction_is_save_to_memory_tool
(tool_name: str | None)
lib/cli/src/crewai_cli/crew_run_tui.py:63
↓ 2 callersMethod_is_step_observation_payload
(payload: Any)
lib/cli/src/crewai_cli/crew_run_tui.py:2494
↓ 2 callersFunction_is_string_list
(value: Any)
lib/crewai/src/crewai/project/json_loader.py:1743
↓ 2 callersFunction_is_string_list
Type guard to check if list contains strings rather than BaseTool instances. Args: value: List that may contain strings or BaseTool insta
lib/crewai/src/crewai/project/crew_base.py:169
↓ 2 callersMethod_is_telemetry_disabled
Check if telemetry should be disabled based on environment variables.
lib/crewai/src/crewai/telemetry/telemetry.py:133
← previousnext →2,501–2,600 of 20,757, ranked by callers