MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,483 in github.com/crewAIInc/crewAI

↓ 7 callersFunctionstopped
(reason: str, source: str)
lib/crewai/tests/cli/authentication/test_login_usage.py:58
↓ 7 callersFunctionstore_files
Store files for a crew execution. Args: execution_id: Unique identifier for the crew execution. files: Dictionary mapping names t
lib/crewai/src/crewai/utilities/file_store.py:178
↓ 7 callersMethodsubscribe
Iterate over frames, optionally filtered by channel.
lib/crewai/src/crewai/types/streaming.py:158
↓ 7 callersFunctionsuppress_warnings
Context manager to suppress all warnings. Yields: None during the context execution. Note: This implementation consolidates
lib/crewai/src/crewai/utilities/logger_utils.py:46
↓ 7 callersMethodto_dict
Serialize context to a dictionary for persistence. Returns: Dictionary representation suitable for JSON serialization.
lib/crewai/src/crewai/flow/async_feedback/types.py:108
↓ 7 callersFunctiontools_effort_error
The 400 OpenAI returns for tools + reasoning_effort.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:86
↓ 7 callersFunctiontrain_crew
Train the crew by running a command in the UV environment. Args: n_iterations (int): The number of iterations to train the crew.
lib/cli/src/crewai_cli/train_crew.py:6
↓ 7 callersFunctionunregister_after_tool_call_hook
Unregister a specific global after_tool_call hook. Args: hook: The hook function to remove Returns: True if the hook was fou
lib/crewai/src/crewai/hooks/tool_hooks.py:324
↓ 7 callersFunctionunregister_before_tool_call_hook
Unregister a specific global before_tool_call hook. Args: hook: The hook function to remove Returns: True if the hook was fo
lib/crewai/src/crewai/hooks/tool_hooks.py:298
↓ 7 callersMethodupdate
Update an existing task output in storage. Args: task_index: The index of the task to update. log: Dictionary contain
lib/crewai/src/crewai/utilities/task_output_storage_handler.py:29
↓ 7 callersFunctionupdate_pyproject_version
Update the [project] version field in a pyproject.toml file. Args: file_path: Path to pyproject.toml file. new_version: New versi
lib/devtools/src/crewai_devtools/cli.py:308
↓ 7 callersMethoduse
( self, calling: ToolCalling | InstructorToolCalling, tool_string: str )
lib/crewai/src/crewai/tools/tool_usage.py:148
↓ 7 callersFunctionvalidate_import_path
Import and return the class/function from the import path. Args: v: Import path string in the format 'module.path.ClassName'. Return
lib/crewai/src/crewai/utilities/import_utils.py:51
↓ 7 callersFunctionwarn_deprecated
Print a yellow deprecation warning for a legacy CLI command or flag.
lib/cli/src/crewai_cli/utils.py:57
↓ 6 callersFunction_agent
(name: str, llm: str)
lib/cli/tests/test_create_crew.py:1602
↓ 6 callersFunction_agent
(llm: _Recorder, **kwargs: Any)
lib/crewai/tests/agents/test_agent_kickoff_content_parts.py:45
↓ 6 callersFunction_agent
( llm: ScriptedLLM, tools: list[BaseTool] | None = None, max_rpm: int | None = None )
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:137
↓ 6 callersFunction_agent_with_skills
Create an agent with explicitly activated, always-on skills.
lib/crewai/tests/events/test_skill_usage_events.py:33
↓ 6 callersFunction_all_ids
(storage: LanceDBStorage)
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:54
↓ 6 callersFunction_assert_safe_peer
Raise if a connected socket's peer is a private/reserved address.
lib/crewai-tools/src/crewai_tools/security/ssrf_adapter.py:60
↓ 6 callersFunction_attach_flow_definition
( flow_class: type[Flow], methods: dict[str, dict[str, object]] )
lib/crewai/tests/test_flow_visualization.py:80
↓ 6 callersFunction_augment_prompt_with_a2a
Add A2A delegation instructions to prompt. Args: a2a_agents: Dictionary of A2A agent configurations task_description: Original ta
lib/crewai/src/crewai/a2a/wrapper.py:671
↓ 6 callersFunction_bad_request
(message: str, **source: Any)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:74
↓ 6 callersMethod_base_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/entra_id.py:48
↓ 6 callersMethod_build_upload_result
Build an UploadResult for a completed upload. Args: file_id: The uploaded file ID. content_type: The file's content t
lib/crewai-files/src/crewai_files/uploaders/openai.py:146
↓ 6 callersMethod_check_module_imports
Import the user's crew/flow/agent via `uv run` so the check sees the same package versions as `crewai run` would. Result is reported as JSON o
lib/cli/src/crewai_cli/deploy/validate.py:821
↓ 6 callersFunction_client_with
(embedding_function)
lib/crewai/tests/rag/qdrant/test_embedding_adapter.py:25
↓ 6 callersFunction_configured_llm
()
lib/crewai/tests/test_llm_overlay.py:57
↓ 6 callersFunction_conversation_id
Resolve gen_ai.conversation.id with a strict fallback chain. Conversation session id -> task_id -> agent_id -> kickoff_id. The required sessi
lib/crewai/src/crewai/telemetry/tracing/handlers.py:884
↓ 6 callersMethod_convert_contents_to_dict
Convert contents to dict format.
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1593
↓ 6 callersMethod_create_manager_agent
(self)
lib/crewai/src/crewai/crew.py:1546
↓ 6 callersFunction_create_skill
( parent: Path, name: str, description: str, instructions: str, )
lib/crewai/tests/skills/test_progressive_disclosure.py:39
↓ 6 callersFunction_create_skill_dir
Helper to create a skill directory with SKILL.md.
lib/crewai/tests/skills/test_integration.py:18
↓ 6 callersFunction_crew_with_placeholders
A minimal crew whose agent goal references each ``{name}`` placeholder.
lib/cli/tests/test_run_crew.py:1004
↓ 6 callersMethod_effective_builtin_routes
Route labels the framework handles, from the definition when there is one. Shared with ``route_turn`` so both agree on what counts as a custo
lib/crewai/src/crewai/flow/conversational_mixin.py:1600
↓ 6 callersFunction_embedding_row
(vector: list[float], embed_id: int = 1)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:96
↓ 6 callersFunction_env
(directory: Path)
lib/crewai/tests/cli/test_eval_consent.py:137
↓ 6 callersMethod_execute
(self, llm: LLM, task: Task | None = None, **agent_kwargs: Any)
lib/crewai/tests/tools/test_tool_failure.py:2222
↓ 6 callersMethod_execute
( self, executor: AgentExecutor, *, call_id: str, func_name: str,
lib/crewai/tests/agents/test_native_tool_calling.py:1146
↓ 6 callersFunction_execute_uv_script
Execute a project script through uv. Args: script_name: The project script to run. entity_type: The user-facing entity being run.
lib/cli/src/crewai_cli/run_crew.py:1355
↓ 6 callersMethod_extract_finish_reason_and_id
Extract raw finish_reason and response_id from an Anthropic ``Message`` / ``BetaMessage``. Anthropic exposes ``stop_reason`` (e.g. ``"
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:2114
↓ 6 callersMethod_extract_openai_token_usage
Extract token usage and response metadata from OpenAI ChatCompletion.
lib/crewai/src/crewai/llms/providers/openai/completion.py:3202
↓ 6 callersMethod_extract_responses_token_usage
Extract token usage and response metadata from Responses API response.
lib/crewai/src/crewai/llms/providers/openai/completion.py:1839
↓ 6 callersMethod_extract_token_usage
Extract token usage and response metadata from Gemini response.
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1514
↓ 6 callersMethod_fetch_amp_mcp_configs
Fetch MCP server configurations via CrewAI+ API. Sends a GET request to the CrewAI+ mcps/configs endpoint with comma-separated slugs.
lib/crewai/src/crewai/mcp/tool_resolver.py:200
↓ 6 callersMethod_finalize_backend_batch
Send batch finalization to backend Args: events_count: Number of events that were successfully sent
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:388
↓ 6 callersFunction_flow_project
Lay out a flow project at ``root`` with ``src/<dir>/crews`` per package dir.
lib/cli/tests/test_cli.py:837
↓ 6 callersMethod_format_messages_for_azure
Format messages for Azure AI Inference API. Args: messages: Input messages Returns: List of dict objects wit
lib/crewai/src/crewai/llms/providers/azure/completion.py:782
↓ 6 callersMethod_formatter
()
lib/crewai/tests/tools/test_tool_failure.py:503
↓ 6 callersMethod_get_client
Get or create the OpenAI client.
lib/crewai-files/src/crewai_files/uploaders/openai.py:164
↓ 6 callersFunction_get_connection
(client: Any)
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:174
↓ 6 callersFunction_get_purpose_for_content_type
Get the appropriate purpose for a file based on content type. OpenAI Files API requires different purposes for different file types: - Images
lib/crewai-files/src/crewai_files/uploaders/openai.py:25
↓ 6 callersMethod_get_server_info
Get server information for events. Returns: Tuple of (server_name, server_url, transport_type).
lib/crewai/src/crewai/mcp/client.py:128
↓ 6 callersMethod_get_sync_client
(self)
lib/crewai/src/crewai/llms/providers/gemini/completion.py:147
↓ 6 callersMethod_get_sync_client
(self)
lib/crewai/src/crewai/llms/providers/openai/completion.py:479
↓ 6 callersMethod_handle_crew_planning
Handles the Crew planning.
lib/crewai/src/crewai/crew.py:1479
↓ 6 callersMethod_initialize_backend_and_send_events
Initialize backend batch and send collected events.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:75
↓ 6 callersFunction_install_fake_flow_app
Replace CrewRunApp/EventListener/summary so _run_declarative_flow_tui is driven by a controllable fake app.
lib/cli/tests/test_run_declarative_flow.py:422
↓ 6 callersFunction_is_async_client
Type guard to check if the client is an asynchronous AsyncQdrantClient. Args: client: The client to check. Returns: True if
lib/crewai/src/crewai/rag/qdrant/utils.py:92
↓ 6 callersFunction_is_async_client
Type guard to check if the client is an asynchronous AsyncClientAPI. Args: client: The client to check. Returns: True if the
lib/crewai/src/crewai/rag/chromadb/utils.py:44
↓ 6 callersMethod_is_context_length_exceeded_error
Check whether an error represents a context limit, not a throttle. Args: error: The provider exception or error message to check.
lib/crewai/src/crewai/utilities/exceptions/context_window_exceeding_exception.py:35
↓ 6 callersMethod_is_responses_only_error
Whether a 404 means the model exists but isn't on chat completions. OpenAI distinguishes the two 404s it returns here: responses
lib/crewai/src/crewai/llms/providers/openai/completion.py:1995
↓ 6 callersFunction_is_sync_client
Type guard to check if the client is a synchronous QdrantClient. Args: client: The client to check. Returns: True if the cli
lib/crewai/src/crewai/rag/qdrant/utils.py:80
↓ 6 callersFunction_is_sync_client
Type guard to check if the client is a synchronous ClientAPI. Args: client: The client to check. Returns: True if the client
lib/crewai/src/crewai/rag/chromadb/utils.py:32
↓ 6 callersFunction_is_tool_use_block
Return true for complete Anthropic tool-use blocks across SDK shapes. New/preview Anthropic models can return content blocks whose concrete SDK
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:190
↓ 6 callersFunction_kickoff
(agent: Agent, use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:398
↓ 6 callersFunction_last_run
(directory)
lib/crewai/tests/telemetry/test_session_trace_export.py:162
↓ 6 callersFunction_llm_provider_name
(llm: Any)
lib/crewai/src/crewai/telemetry/tracing/handlers.py:860
↓ 6 callersMethod_make_agent
(self, checkpoint: Any = None)
lib/crewai/tests/test_checkpoint.py:59
↓ 6 callersFunction_make_crew
( *, task_description: str = "", expected_output: str = "", agent_role: str = "", agent_go
lib/crewai/tests/cli/test_crew_chat.py:27
↓ 6 callersMethod_make_crew
( self, agents: list[Agent], checkpoint: Any = None )
lib/crewai/tests/test_checkpoint.py:62
↓ 6 callersMethod_make_executor
Create a minimal AgentExecutor with mocked dependencies.
lib/crewai/tests/agents/test_native_tool_calling.py:1119
↓ 6 callersFunction_make_mock_client
Create a mock MCPClient that returns *tool_definitions*.
lib/crewai/tests/mcp/test_mcp_config.py:35
↓ 6 callersFunction_make_storage
(path: str, vector_dim: int = 4)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:24
↓ 6 callersMethod_make_tool
(self)
lib/crewai/tests/tools/test_base_tool.py:722
↓ 6 callersMethod_mark_todo_completed
( self, step_number: int, result: str | None = None, )
lib/crewai/src/crewai/agents/agent_executor.py:684
↓ 6 callersFunction_method_action
(method: Any)
lib/crewai/src/crewai/flow/dsl/_utils.py:90
↓ 6 callersMethod_nested_in_flow_execution
True when a crew runs inside a flow session (context or batch ownership).
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:856
↓ 6 callersFunction_normalize_agent_input
Accept a prompt string or a rendered conversation. A whole-string ``${...}`` template keeps its evaluated type, so a CEL expression over ``st
lib/crewai/src/crewai/flow/runtime/_actions.py:285
↓ 6 callersFunction_output
(capsys)
lib/cli/tests/test_cli.py:469
↓ 6 callersMethod_parse_amp_ref
Parse an AMP reference into *(slug, optional tool name)*. Accepts both bare slugs (``"notion"``, ``"notion#search"``) and the legacy
lib/crewai/src/crewai/mcp/tool_resolver.py:124
↓ 6 callersFunction_parse_duration
(value: str)
lib/cli/src/crewai_cli/checkpoint_cli.py:634
↓ 6 callersMethod_parse_observation_response
Parse the LLM response into a StepObservation. The LLM may return: - A StepObservation instance directly (streaming + litellm path)
lib/crewai/src/crewai/agents/planner_observer.py:325
↓ 6 callersFunction_payload
(response: httpx.Response)
lib/cli/src/crewai_cli/experimental/eval_crew.py:2532
↓ 6 callersFunction_pop_local_context
(kwargs: dict[str, Any])
lib/crewai/src/crewai/flow/runtime/_actions.py:502
↓ 6 callersFunction_prune_json
(location: str, keep: int | None, older_than: timedelta | None)
lib/cli/src/crewai_cli/checkpoint_cli.py:649
↓ 6 callersMethod_read_secure_file
Read raw bytes from a secure file, or None if absent.
lib/crewai-core/src/crewai_core/token_manager.py:283
↓ 6 callersMethod_refine_request_payload
Subclass must implement: transform validated params dict into API request params.
lib/crewai-tools/src/crewai_tools/tools/brave_search_tool/base.py:273
↓ 6 callersMethod_refresh_eval_button
The button while the evaluation runs: still teal, still pressable — the report page is where the progress is — and spinning, because a
lib/cli/src/crewai_cli/crew_run_tui.py:1812
↓ 6 callersMethod_remember_responses_only_model
Record that this model must use the Responses API.
lib/crewai/src/crewai/llms/providers/openai/completion.py:2016
↓ 6 callersFunction_reopen
Simulate a process restart: close ``storage`` and reopen ``path``.
lib/crewai/tests/memory/test_storage_backend_async_parity.py:67
↓ 6 callersMethod_request_trace_consent
Wait in the execution worker while the UI asks for upload consent. Unless the user already answered: turning tracing on — in the project's
lib/cli/src/crewai_cli/crew_run_tui.py:1389
↓ 6 callersMethod_require_memory
Return the bound ``Memory`` or raise a clear error if missing.
lib/crewai/src/crewai/memory/memory_scope.py:263
↓ 6 callersFunction_resolve
Coerce a checkpoint field value. Returns: CheckpointConfig — use this config. _SENTINEL — explicit opt-out (``False``), stop walk
lib/crewai/src/crewai/state/checkpoint_listener.py:55
↓ 6 callersFunction_resolve_python_class
( value: Any, source: str | Path, *, base_class: type[Any] | None = None, project_root: Pa
lib/crewai/src/crewai/project/json_loader.py:900
↓ 6 callersFunction_response
(url: str, status_code: int, *, location: str | None = None)
lib/crewai-tools/tests/utilities/test_safe_requests.py:29
↓ 6 callersMethod_router_response_format
( self, router_config: RouterConfig, )
lib/crewai/src/crewai/flow/conversational_mixin.py:1385
↓ 6 callersFunction_safe_extractall
Path-traversal-safe extraction for Python versions without tar filters. Only regular files and directories are extracted. Symlink and hardlink
lib/crewai/src/crewai/skills/cache.py:167
↓ 6 callersMethod_save_file
Save task output to a file. Note: For cross-platform file writing, especially on Windows, consider using FileWriterTool
lib/crewai/src/crewai/task.py:1402
↓ 6 callersFunction_scaffold_json_crew
(root: Path, *, task_agent: str = "researcher")
lib/cli/tests/deploy/test_validate.py:119
← previousnext →901–1,000 of 20,483, ranked by callers