MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

↓ 7 callersMethodget_sync_page
Get or create a page for the specified thread.
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_toolkit.py:113
↓ 7 callersFunctionhandle_partial_json
Handle partial JSON in a result string and convert to Pydantic model or dict. Args: result: The result string to process. model:
lib/crewai/src/crewai/utilities/converter.py:303
↓ 7 callersFunctionhandle_tool_failure
Apply the effective policy to a failure a tool just reported. Records it on the agent and emits :class:`ToolFailureDetectedEvent`. Returns th
lib/crewai/src/crewai/tools/tool_failure.py:327
↓ 7 callersFunctionimport_and_validate_definition
Pydantic-compatible function to import a class/function from a string path. Args: v: Import path string in the format 'module.path.ClassN
lib/crewai/src/crewai/utilities/import_utils.py:87
↓ 7 callersFunctionis_newer_version_available
Return ``(is_newer, current_version, latest_version)``.
lib/crewai-core/src/crewai_core/version.py:184
↓ 7 callersFunctionis_tui_mode
()
lib/crewai/src/crewai/events/listeners/tracing/utils.py:85
↓ 7 callersMethodload
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/json_loader.py:10
↓ 7 callersFunctionload_dataset
Load and validate records from a ``.jsonl`` or ``.json`` file. Args: path: A ``.jsonl`` file (one record per line; blank lines are skippe
scripts/jev_evaluation_runner.py:227
↓ 7 callersMethodlog_success_event
Log successful LLM API call and track token usage.
lib/crewai/src/crewai/utilities/token_counter_callback.py:38
↓ 7 callersFunctionmake_span
( number, text="", *, resource=None, scope=None, events=(), attributes=None )
lib/crewai/tests/telemetry/test_grant_export_bounds.py:20
↓ 7 callersMethodmark_running
Mark a todo as running by step number.
lib/crewai/src/crewai/utilities/planning_types.py:90
↓ 7 callersFunctionmemoize
Memoize a method by caching its results per instance, based on arguments. Handles both sync and async methods. Pydantic BaseModel instances are
lib/crewai/src/crewai/project/utils.py:52
↓ 7 callersFunctionoverlay_model_for
The model the active overlay assigns to ``role``. Whitespace around ``role`` is ignored, as it was around the keys when the overlay was set.
lib/crewai/src/crewai/llm_overlay.py:152
↓ 7 callersFunctionparse_within
(data: bytes, seconds: float = 5.0)
lib/crewai-files/tests/spreadsheets/test_reading.py:75
↓ 7 callersMethodquery
Query across all knowledge sources to find the most relevant information. Returns the top_k most relevant chunks. Raises:
lib/crewai/src/crewai/knowledge/knowledge.py:135
↓ 7 callersFunctionraise_connection_failure
Raise a typed MCP connection error when an HTTP status is known. Args: message: Fallback message when no HTTP status can be recovered.
lib/crewai/src/crewai/mcp/exceptions.py:162
↓ 7 callersFunctionraises
(error: Exception)
lib/cli/tests/test_run_usage.py:1556
↓ 7 callersMethodrun
(self)
lib/crewai/tests/telemetry/test_trace_lifecycle.py:242
↓ 7 callersMethodsave_pending_feedback
(self, flow_uuid, context, state_data)
lib/crewai/tests/test_flow_from_definition.py:3635
↓ 7 callersMethodsave_tokens
Save the access token and its expiration time. Args: access_token: The access token to save. expires_at: The UNIX tim
lib/crewai-core/src/crewai_core/token_manager.py:50
↓ 7 callersFunctionset_execution_uuid
Bind an execution uuid for the current context. Use this from enterprise / hosts that already own the run id (e.g. Celery ``kickoff_id``). Ov
lib/crewai/src/crewai/execution.py:70
↓ 7 callersFunctionset_triggering_event_id
Set the ID of the triggering event for causal chain tracking. Args: event_id: The event_id that triggered the current execution, or None.
lib/crewai/src/crewai/events/event_context.py:109
↓ 7 callersMethodsetup_listeners
(self, crewai_event_bus: CrewAIEventsBus)
lib/crewai/src/crewai/events/event_listener.py:177
↓ 7 callersMethodsetup_mock_response
(self, text, status_code=200, content_type="text/html")
lib/crewai-tools/tests/rag/test_webpage_loader.py:10
↓ 7 callersMethodsetup_mock_response
(self, text, status_code=200, content_type="text/html")
lib/crewai-tools/tests/rag/test_xml_loader.py:10
↓ 7 callersMethodsetup_mock_soup
(self, text, title=None, script_style_elements=None)
lib/crewai-tools/tests/rag/test_webpage_loader.py:18
↓ 7 callersMethodsetup_mock_soup
(self, text, title=None, script_style_elements=None)
lib/crewai-tools/tests/rag/test_xml_loader.py:18
↓ 7 callersMethodskill
Return a portable Markdown skill for authoring Flow declarations.
lib/crewai/src/crewai/flow/flow_definition.py:867
↓ 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_config_dict
(self)
lib/crewai/tests/utilities/test_create_llm_like.py:40
↓ 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 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 callersMethod__new__
(cls, *args: Any, **kwargs: Any)
lib/crewai/tests/tools/test_tool_failure.py:53
↓ 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:641
↓ 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:877
↓ 6 callersMethod_convert_contents_to_dict
Convert contents to dict format.
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1587
↓ 6 callersMethod_create_manager_agent
(self)
lib/crewai/src/crewai/crew.py:1542
↓ 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:1554
↓ 6 callersFunction_embedding_row
(vector: list[float], embed_id: int = 1)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:96
↓ 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:1348
↓ 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:2111
↓ 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:1508
↓ 6 callersFunction_fail
(message: str)
lib/cli/src/crewai_cli/experimental/eval_crew.py:2424
↓ 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:197
↓ 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:386
↓ 6 callersFunction_flow_project
Lay out a flow project at ``root`` with ``src/<dir>/crews`` per package dir.
lib/cli/tests/test_cli.py:830
↓ 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_secure_storage_path
Platform-appropriate per-user credential directory (mode 0o700).
lib/crewai-core/src/crewai_core/token_manager.py:85
↓ 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:1475
↓ 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:69
↓ 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:187
↓ 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:144
↓ 6 callersFunction_llm_provider_name
(llm: Any)
lib/crewai/src/crewai/telemetry/tracing/handlers.py:853
↓ 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
← previousnext →801–900 of 19,482, ranked by callers