MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

↓ 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:850
↓ 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:261
↓ 6 callersMethod_on_crew_done
(self, output: str | None)
lib/cli/src/crewai_cli/crew_run_tui.py:992
↓ 6 callersFunction_output
(capsys)
lib/cli/tests/test_cli.py:462
↓ 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:121
↓ 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:2358
↓ 6 callersFunction_pop_local_context
(kwargs: dict[str, Any])
lib/crewai/src/crewai/flow/runtime/_actions.py:478
↓ 6 callersMethod_prepare_generation_config
Prepare generation config for Google Gemini API. Args: system_instruction: System instruction for the model tools: To
lib/crewai/src/crewai/llms/providers/gemini/completion.py:528
↓ 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:144
↓ 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:1738
↓ 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_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:898
↓ 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:1339
↓ 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:1354
↓ 6 callersFunction_scaffold_json_crew
(root: Path, *, task_agent: str = "researcher")
lib/cli/tests/deploy/test_validate.py:119
↓ 6 callersMethod_select_organization
Let the user choose the organization for this CLI login.
lib/cli/src/crewai_cli/authentication/main.py:33
↓ 6 callersFunction_serialized_add_image_tool
()
lib/crewai/tests/tools/test_deserialization_guard.py:38
↓ 6 callersFunction_skill_attrs
Common attributes for every skill event. ``skill_path`` is a ``Path``; OTel attribute values must be primitives, so it is stringified here ra
lib/crewai/src/crewai/telemetry/tracing/handlers.py:3038
↓ 6 callersMethod_spinner
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1835
↓ 6 callersFunction_storage
(name: str = "docs")
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:55
↓ 6 callersFunction_stream
(formatter: ConsoleFormatter, chunks: int, call_type: Any)
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:148
↓ 6 callersMethod_stringify_result
(result: Any)
lib/crewai/src/crewai/flow/conversational_mixin.py:1682
↓ 6 callersFunction_summarize_context_before_llm_call
Compact messages after a context-window check. Conversational callers allow a single user message because the router serializes its entire co
lib/crewai/src/crewai/utilities/agent_utils.py:578
↓ 6 callersFunction_text
(content: str)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:352
↓ 6 callersFunction_ts_from_name
Extract timestamp from checkpoint ID or filename.
lib/cli/src/crewai_cli/checkpoint_cli.py:217
↓ 6 callersFunction_uploader_or_none
Return the provider's uploader, or None when it is unavailable. get_uploader raises ValueError for an unknown or unconfigured provider. Clean
lib/crewai-files/src/crewai_files/cache/cleanup.py:20
↓ 6 callersMethod_use_trained_data
Use trained data for the agent task prompt to improve output.
lib/crewai/src/crewai/agent/core.py:1549
↓ 6 callersFunction_wizard_result
(*agents: dict[str, object])
lib/cli/tests/test_create_crew.py:1650
↓ 6 callersFunction_write
(path: Path, text: str = "x", seconds_ago: float = 0.0)
lib/cli/tests/experimental/test_eval_crew.py:3343
↓ 6 callersFunction_written_post
()
lib/cli/tests/test_create_flow.py:719
↓ 6 callersMethodacquire
(self)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:102
↓ 6 callersMethodadd_template
Download a template and copy it into the current working directory. Args: name: Template name (with or without the template_ pref
lib/cli/src/crewai_cli/remote_template/main.py:93
↓ 6 callersMethodadd_usage_metrics
Add usage metrics from another UsageMetrics object. Args: usage_metrics: The usage metrics to add.
lib/crewai/src/crewai/types/usage_metrics.py:65
↓ 6 callersMethodaget_or_create_collection
Get an existing collection or create it if it doesn't exist asynchronously. Keyword Args: collection_name: Name of the collection
lib/crewai/src/crewai/rag/qdrant/client.py:254
↓ 6 callersFunctionbuild_crew
(agent: Agent, **task_kwargs: Any)
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:150
↓ 6 callersFunctionbuild_pdf
Return the bytes of a one-page PDF containing *text*.
lib/crewai-tools/tests/url_read_tool_test.py:53
↓ 6 callersMethodcall_llm_and_parse
Execute LLM call with hooks and parse the response. Returns routing decision based on parsing result.
lib/crewai/src/crewai/agents/agent_executor.py:1643
↓ 6 callersFunctioncancel
Cancel an A2A task. Publishes a cancel event that the cancellable decorator listens for. Args: context: The A2A request context cont
lib/crewai/src/crewai/a2a/utils/task.py:458
↓ 6 callersMethodcheck_max_iterations
Check if max iterations reached before proceeding with reasoning.
lib/crewai/src/crewai/agents/agent_executor.py:2520
↓ 6 callersFunctionchunk_pdf
Split a PDF into chunks of maximum page count. Yields chunks one at a time to minimize memory usage. Args: file: The PDF file to chu
lib/crewai-files/src/crewai_files/processing/transformers.py:159
↓ 6 callersMethodcleanup
Delete every artifact in this execution. Safe to call repeatedly.
lib/crewai/src/crewai/utilities/tool_result_artifacts.py:100
↓ 6 callersMethodclear
Sync wrapper for aclear.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:475
↓ 6 callersFunctionclear_after_tool_call_hooks
Clear all registered global after_tool_call hooks. Returns: Number of hooks that were cleared Example: >>> register_after_to
lib/crewai/src/crewai/hooks/tool_hooks.py:367
↓ 6 callersMethodclose
Release clients and internally created credentials, not caller credentials.
lib/crewai-tools/src/crewai_tools/tools/azure_documentdb_vector_search_tool/vector_search.py:318
↓ 6 callersMethodclose
Record that the response was closed.
lib/crewai-tools/tests/url_read_tool_test.py:48
↓ 6 callersFunctioncomparison
(**overrides)
lib/cli/tests/experimental/test_eval_crew.py:1662
↓ 6 callersFunctioncomplete_call
(call_id)
lib/crewai/tests/telemetry/test_event_trace_session.py:29
↓ 6 callersMethodconnect
(self, sockaddr: tuple[str, int])
lib/crewai-tools/tests/utilities/test_safe_requests.py:483
↓ 6 callersFunctioncopy_assistant_instructions
Copy ``AGENTS.md`` and the files that import it into a project. EVALUATION: keep the `crewai eval` guidance — True for crew and flow projects
lib/cli/src/crewai_cli/utils.py:151
↓ 6 callersFunctioncreate_or_reset_branch
Create ``branch`` from current HEAD, resetting any stale copy. If the branch exists locally or on origin, prompts the user to choose between
lib/devtools/src/crewai_devtools/cli.py:212
↓ 6 callersMethodcreate_vector_search_index
Convenience function to create a vector search index. Args: dimensions: Number of dimensions in embedding. If the value is set a
lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py:142
↓ 6 callersMethodcrew
Creates the Content Crew
lib/cli/src/crewai_cli/templates/flow/crews/content_crew/content_crew.py:53
↓ 6 callersMethodcrew_completed_span
Records how long a crew ran and how it ended, for every user. The crew analogue of :meth:`flow_completed_span`, and it exists because
lib/crewai/src/crewai/telemetry/telemetry.py:1090
↓ 6 callersFunctiondefault_flow_persistence
Build the default flow persistence backend. Returns the result of the registered factory if one is set, otherwise a built-in :class:`~crewai.
lib/crewai/src/crewai/flow/persistence/factory.py:48
↓ 6 callersMethoddeploy_by_name
Redeploy by name, with PROJECT_ID (`[tool.crewai].project_id`) when set. The body is sent only when there is something in it. An AMP that
lib/crewai-core/src/crewai_core/plus_api.py:460
↓ 6 callersMethoddeploy_by_uuid
Redeploy by uuid, with PROJECT_ID and FORCE as for `deploy_by_name`.
lib/crewai-core/src/crewai_core/plus_api.py:475
↓ 6 callersFunctiondetect_tool_failure
Return the failure a tool declared, if it declared one. Only an explicit :class:`ToolFailure` counts, so a tool legitimately returning text a
lib/crewai/src/crewai/tools/tool_failure.py:157
↓ 6 callersMethoddisconnect
Disconnect from MCP server and cleanup resources.
lib/crewai/src/crewai/mcp/client.py:386
↓ 6 callersFunctionexecute_tool_and_check_finality
Execute a tool and check if the result should be treated as a final answer. This function integrates tool hooks for before and after tool executi
lib/crewai/src/crewai/utilities/tool_utils.py:201
↓ 6 callersMethodexecute_with_trigger
Execute crew with trigger payload.
lib/cli/src/crewai_cli/triggers/main.py:37
↓ 6 callersFunctionextract_json_from_llm_response
(text: str)
lib/crewai/src/crewai/experimental/evaluation/json_parser.py:8
↓ 6 callersFunctionfactory
Create a gRPC channel for the given URL.
lib/crewai/src/crewai/a2a/utils/delegation.py:811
↓ 6 callersFunctionfailure_from_exception
Build a :class:`ToolFailure` from an exception a tool raised.
lib/crewai/src/crewai/tools/tool_failure.py:168
↓ 6 callersMethodfilter
(self, record: logging.LogRecord)
lib/crewai-core/src/crewai_core/telemetry.py:112
↓ 6 callersFunctionfind_transport_failure
Search exceptions for the one that explains why a connection failed. A failing transport cancels the coroutine that was waiting on it, so the
lib/crewai/src/crewai/mcp/exceptions.py:252
↓ 6 callersFunctionformat_path_for_display
Return a path label that does not expose absolute directory prefixes.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:34
↓ 6 callersMethodformat_text_content
Format text as a content block for the LLM. Default implementation uses OpenAI/Anthropic format. Subclasses should override for provi
lib/crewai/src/crewai/llms/base_llm.py:748
↓ 6 callersMethodget
(self, url: str)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:147
↓ 6 callersFunctionget_a2a_agents_and_response_model
Get A2A agent configs and response model. Args: a2a_config: A2A configuration (any type). Returns: Tuple of client A2A confi
lib/crewai/src/crewai/a2a/utils/response_model.py:87
↓ 6 callersFunctionget_crewai_project_config
Return the normalized ``[tool.crewai]`` table from pyproject data.
lib/crewai-core/src/crewai_core/project.py:51
↓ 6 callersFunctionget_image_dimensions
Get the dimensions of an image file. Args: file: The image file to measure. Returns: Tuple of (width, height) in pixels, or
lib/crewai-files/src/crewai_files/processing/transformers.py:288
↓ 6 callersFunctionget_latest_version_from_pypi
Return the latest non-yanked PyPI version of CrewAI, or ``None`` on failure.
lib/crewai-core/src/crewai_core/version.py:112
↓ 6 callersMethodget_pending_todos
Get all pending todos. Returns: List of pending TodoItem objects.
lib/crewai/src/crewai/utilities/planning_types.py:177
↓ 6 callersMethodget_summary
(self)
lib/crewai/src/crewai/agents/agent_builder/utilities/base_token_process.py:31
↓ 6 callersFunctionget_uploader
Get Gemini file uploader.
lib/crewai-files/src/crewai_files/uploaders/factory.py:89
↓ 6 callersFunctionhandle_unknown_error
Handle unknown errors by informing the user. Args: printer: Printer instance for output exception: The exception that occurred
lib/crewai/src/crewai/utilities/agent_utils.py:931
↓ 6 callersFunctionhas_user_declined_tracing
Return True if the user has explicitly declined trace collection.
lib/crewai-core/src/crewai_core/user_data.py:69
↓ 6 callersFunctioninitialize_tool_with
(mock_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:25
↓ 6 callersFunctionis_blocked_ip
Return True if *ip_str* is private, reserved, or otherwise unsafe to fetch. Default-deny: anything that is not globally routable is blocked, plus
lib/crewai-tools/src/crewai_tools/security/safe_path.py:201
↓ 6 callersMethodis_synced
Return True if the Git repository is fully synced with the remote, False otherwise.
lib/cli/src/crewai_cli/git.py:117
↓ 6 callersMethodis_throttling_error
Return whether an error chain represents a transient provider throttle.
lib/crewai/src/crewai/llms/retry.py:49
↓ 6 callersFunctionjson_crew_project
(folder: Path, *, installed: bool = True)
lib/cli/tests/test_run_usage.py:176
↓ 6 callersMethodload_prompts
Load prompts from a JSON file. Returns: The I18N instance with loaded prompts. Raises: Exception: If the pro
lib/crewai/src/crewai/utilities/i18n.py:27
↓ 6 callersMethodlogin_to_tool_repository
Log in to the tool repository. This request is authenticated, so sending user_identifier and project_id alongside it links the accoun
lib/crewai-core/src/crewai_core/plus_api.py:352
↓ 6 callersFunctionnormalize_input_files
Convert a list of file sources to a named dictionary of FileInputs. Args: input_files: List of file source inputs or File objects. R
lib/crewai-files/src/crewai_files/resolution/utils.py:49
↓ 6 callersFunctionnormalize_package_name
Normalize a project name into its scaffolded Python package name.
lib/cli/src/crewai_cli/utils.py:94
← previousnext →901–1,000 of 19,482, ranked by callers