MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,483 in github.com/crewAIInc/crewAI

↓ 6 callersMethod_select_organization
Let the user choose the organization for this CLI login.
lib/cli/src/crewai_cli/authentication/main.py:96
↓ 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:3045
↓ 6 callersMethod_spinner
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1909
↓ 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:1728
↓ 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:1639
↓ 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:3557
↓ 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:459
↓ 6 callersMethodcheck_max_iterations
Check if max iterations reached before proceeding with reasoning.
lib/crewai/src/crewai/agents/agent_executor.py:2521
↓ 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:175
↓ 6 callersMethodcleanup
Delete every artifact in this execution. Safe to call repeatedly.
lib/crewai/src/crewai/utilities/tool_result_artifacts.py:100
↓ 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:1687
↓ 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:523
↓ 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:152
↓ 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:461
↓ 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:476
↓ 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 callersMethodextract_all_tools
(self)
lib/crewai-tools/src/crewai_tools/generate_tool_specs.py:30
↓ 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 callersMethodget_audience
(self)
lib/cli/tests/authentication/test_login_usage.py:81
↓ 6 callersMethodget_client_id
(self)
lib/cli/tests/authentication/test_login_usage.py:75
↓ 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_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 callersMethodhandle_execution_completion
Handle the completion flow as shown in your diagram.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:48
↓ 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 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 callersMethodlist_crews
List all available crews. Raises: AuthenticationRequiredError: If AMP rejects the login (401). SystemExit: F
lib/cli/src/crewai_cli/deploy/main.py:841
↓ 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 callersMethodload_state
(self, flow_uuid)
lib/crewai/tests/telemetry/test_trace_lifecycle.py:108
↓ 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:353
↓ 6 callersFunctionmerge_tool_failures
Concatenate failure lists, dropping records already present. Guardrail retries rebuild the output from overlapping sources, so identity is no
lib/crewai/src/crewai/tools/tool_failure.py:214
↓ 6 callersFunctionnormalize_package_name
Normalize a project name into its scaffolded Python package name.
lib/cli/src/crewai_cli/utils.py:94
↓ 6 callersMethodon_button_pressed
(self, event: Button.Pressed)
lib/cli/src/crewai_cli/crew_run_tui.py:1838
↓ 6 callersFunctionoperation
()
lib/crewai/tests/llms/test_retry.py:116
↓ 6 callersFunctionoptimize_image
Optimize an image to fit within a target file size. Uses iterative quality reduction to achieve target size. Args: file: The image f
lib/crewai-files/src/crewai_files/processing/transformers.py:95
↓ 6 callersFunctionpackage
A workbook in ``folder`` whose ``_rels/.rels`` points there, holding ``sheets`` by name; ``decoy`` adds a one-cell workbook at the usual ``xl/``.
lib/crewai-files/tests/spreadsheets/test_reading.py:660
↓ 6 callersFunctionplan_naming
Crew planning writes a plan that tells the agent to open ``url``.
lib/crewai/tests/agents/test_agent_spreadsheets.py:672
↓ 6 callersMethodrecall
Recall relevant memories. Delegates to this flow's memory. Args: query: Natural language query. **kwargs: Passed to m
lib/crewai/src/crewai/flow/runtime/__init__.py:1015
↓ 6 callersMethodrecord_export
Record the run for `crewai eval` once its spans have reached Wharf, and say where to look at it. Only a run whose every export succee
lib/crewai/src/crewai/telemetry/tracing/grants.py:445
↓ 6 callersFunctionregister_scoped
Register a hook scoped to the current :func:`scoped_hooks` context.
lib/crewai/src/crewai/hooks/dispatch.py:177
↓ 6 callersMethodrender_template
Interpolate ``${...}`` expressions inside nested strings as CEL. A string that is exactly one ``${...}`` keeps the evaluated value's
lib/crewai/src/crewai/flow/expressions.py:291
↓ 6 callersMethodreset
Reset all settings to default values.
lib/crewai-core/src/crewai_core/settings.py:239
↓ 6 callersFunctionrestore_event_scope
Restore the event scope stack from a checkpoint.
lib/crewai/src/crewai/events/event_context.py:136
↓ 6 callersFunctionresume_task_scope
Push the latest recorded ``task_started`` scope for a task. Args: task_id: The task identifier to look up in the active event record.
lib/crewai/src/crewai/events/event_context.py:141
↓ 6 callersMethodrun
(self)
lib/cli/tests/test_run_crew.py:765
↓ 6 callersMethodrun
( self, crew: Crew | None = None, agents: list[Agent] | list[BaseAgent] | None = None,
lib/crewai/src/crewai/experimental/evaluation/experiment/runner.py:32
↓ 6 callersFunctionscoped_hooks
Enter an execution-scoped hook registry. Hooks registered inside this context (via :func:`register_scoped`) run after global hooks and are di
lib/crewai/src/crewai/hooks/dispatch.py:160
↓ 6 callersFunctionset_artifact_store
Replace the process-wide artifact store.
lib/crewai/src/crewai/artifacts.py:266
↓ 6 callersMethodset_cache_handler
Set the cache handler for the agent. Args: cache_handler: An instance of the CacheHandler class.
lib/crewai/src/crewai/agents/agent_builder/base_agent.py:800
↓ 6 callersFunctionset_last_event_id
Set the ID of the last emitted event. Args: event_id: The event_id to set as the last emitted event.
lib/crewai/src/crewai/events/event_context.py:91
↓ 6 callersMethodset_tracer
Mark telemetry live (idempotent). Deliberately does not install a global TracerProvider. Doing so made every OTel-instrumented librar
lib/crewai-core/src/crewai_core/telemetry.py:377
↓ 6 callersFunctionshould_suppress_console_output
Return True if console output should currently be suppressed.
lib/crewai-core/src/crewai_core/printer.py:27
↓ 6 callersMethodshutdown
Gracefully shutdown the event loop and wait for all tasks to finish. Args: wait: If True, wait for all pending tasks to complete
lib/crewai/src/crewai/events/event_bus.py:897
↓ 6 callersFunctionsleep
(seconds: float)
lib/cli/tests/experimental/test_eval_crew.py:682
↓ 6 callersMethodstart
(self)
lib/crewai/tests/tools/test_structured_tool.py:397
↓ 6 callersMethodstart_deployment_span
Records redeploying an existing crew (``crewai deploy push``). Also emits ``deploy:pushed`` so that deployments are countable from the
lib/crewai-core/src/crewai_core/telemetry.py:425
↓ 6 callersMethodstream_events
Run the LLM call and stream scoped public ``StreamFrame`` events.
lib/crewai/src/crewai/llms/base_llm.py:578
↓ 6 callersMethodsubscribe
Iterate over frames, optionally filtered by channel.
lib/crewai/src/crewai/types/streaming.py:240
← previousnext →1,001–1,100 of 20,483, ranked by callers