MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,483 in github.com/crewAIInc/crewAI

↓ 5 callersFunction_supports_native_structured_outputs
Check if the model supports native structured outputs. Covers Claude Fable 5, Opus 5, Sonnet 5, Opus 4.8 and the 4.5-era models (Sonnet 4.5,
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:116
↓ 5 callersFunction_tar_from_members
Build an in-memory tar archive via `build(tf)` and return it for reading.
lib/crewai/tests/skills/test_cache.py:40
↓ 5 callersFunction_to_str
(value: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:360
↓ 5 callersFunction_tool_use_blocks
(blocks: list[Any])
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:215
↓ 5 callersFunction_try_parse_structured
Try JSON first, then Python repr (single-quoted dicts/lists).
lib/cli/src/crewai_cli/crew_run_tui.py:82
↓ 5 callersFunction_unlisted_model
A model id the catalog does not know, unique so no earlier test warned for it.
lib/crewai/tests/llms/test_context_window.py:456
↓ 5 callersFunction_unregister_handler
Unregister a stream handler from the event bus. Args: handler: The handler function to unregister.
lib/crewai/src/crewai/utilities/streaming.py:371
↓ 5 callersMethod_unsubscribe_if_no_running_memory_save
( self, *, wait_for_queued: bool = False )
lib/cli/src/crewai_cli/crew_run_tui.py:2737
↓ 5 callersMethod_validate_call_params
Validate parameters before making a call. Currently this only checks if a response_format is provided and whether the model supports
lib/crewai/src/crewai/llm.py:2550
↓ 5 callersFunction_validate_size
Validate file size against maximum. Args: file_type: Type label for error messages (e.g., "Image", "PDF"). filename: Name of the
lib/crewai-files/src/crewai_files/processing/validators.py:168
↓ 5 callersFunction_visible_label_indices
( labels: list[str], query: str, separator_indices: set[int], *, searchable: bool, col
lib/cli/src/crewai_cli/tui_picker.py:207
↓ 5 callersFunction_write_python_defs
(tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:17
↓ 5 callersMethodaccepts_output
Recheck after queues/provider waits, immediately before transport handoff.
lib/crewai/src/crewai/experimental/flow_replies.py:409
↓ 5 callersMethodacreate_collection
Create a new collection in Qdrant asynchronously. Keyword Args: collection_name: Name of the collection to create. Must be unique
lib/crewai/src/crewai/rag/qdrant/client.py:161
↓ 5 callersMethodaction_quit
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1372
↓ 5 callersMethodadelete_collection
Delete a collection and all its data asynchronously. Keyword Args: collection_name: Name of the collection to delete. Ra
lib/crewai/src/crewai/rag/qdrant/client.py:532
↓ 5 callersMethodaexecute_task
Execute a task with the agent asynchronously. Args: task: Task to execute. context: Context to execute the task in.
lib/crewai/src/crewai/agent/core.py:1240
↓ 5 callersFunctionaget_llm_response
Call the LLM asynchronously and return the response. Args: llm: The LLM instance to call. messages: The messages to send to the L
lib/crewai/src/crewai/utilities/agent_utils.py:789
↓ 5 callersMethodallow_file
Allow an exact temporary artifact path for this execution.
lib/crewai/src/crewai/tools/agent_tools/deferred_tool_result_reader.py:37
↓ 5 callersFunctionamp_answer
(status: int, body: Any)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:780
↓ 5 callersFunctionanonymous_link
(execution_uuid: str)
lib/crewai/tests/telemetry/test_placeholder_traces.py:226
↓ 5 callersMethodaread
Async read the file content as bytes. Raises: TypeError: If the underlying source doesn't support async read.
lib/crewai-files/src/crewai_files/core/types.py:203
↓ 5 callersMethodas_agent_message
Render the text the agent sees for this failure.
lib/crewai/src/crewai/tools/tool_failure.py:107
↓ 5 callersFunctionassert_parity
(flow_cls, yaml_str, inputs=None, ordered=True)
lib/crewai/tests/test_flow_from_definition.py:533
↓ 5 callersMethodastream
Run the flow asynchronously and stream scoped public frames.
lib/crewai/src/crewai/flow/runtime/__init__.py:2098
↓ 5 callersMethodbind
Rebind the runtime ``Memory`` dependency after restore. Required after deserializing from a checkpoint, since the live ``Memory`` can
lib/crewai/src/crewai/memory/memory_scope.py:70
↓ 5 callersMethodbuild
(self, via_llm: bool, **kwargs: Any)
lib/crewai/tests/llms/test_missing_api_key.py:282
↓ 5 callersMethodbuild
(self, **kwargs: Any)
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:99
↓ 5 callersFunctionbuild_usage
A ToolUsage wired to one tool, with a mocked telemetry sink.
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:41
↓ 5 callersMethodcall
(self, messages: Any, **kwargs: Any)
lib/crewai/tests/utilities/test_converter.py:1062
↓ 5 callersFunctioncall_stream_override
Override streaming for ``llm`` within the current call scope.
lib/crewai/src/crewai/llms/base_llm.py:199
↓ 5 callersFunctionclassify_upload_error
Classify an exception as transient or permanent upload error. Analyzes the exception type name and status code to determine if the error is l
lib/crewai-files/src/crewai_files/processing/exceptions.py:122
↓ 5 callersMethodcleanup
Disconnect all MCP client connections.
lib/crewai/src/crewai/mcp/tool_resolver.py:106
↓ 5 callersFunctionclear_before_tool_call_hooks
Clear all registered global before_tool_call hooks. Returns: Number of hooks that were cleared Example: >>> register_before_
lib/crewai/src/crewai/hooks/tool_hooks.py:350
↓ 5 callersFunctionclear_files
Clear files for a crew execution. Args: execution_id: Unique identifier for the crew execution.
lib/crewai/src/crewai/utilities/file_store.py:205
↓ 5 callersFunctionclear_rag_config
Clear the current RAG configuration and client, reverting to defaults.
lib/crewai/src/crewai/rag/config/utils.py:128
↓ 5 callersFunctionclear_task_files
Clear files for a task execution. Args: task_id: Unique identifier for the task.
lib/crewai/src/crewai/utilities/file_store.py:241
↓ 5 callersMethodcollect
(self)
lib/crewai/tests/test_flow_jobs.py:49
↓ 5 callersFunctioncommit_job_update
Atomically accept a valid update; invalid proposals leave state unchanged. This function does not acquire a lock. Its caller must share one seria
lib/crewai/src/crewai/experimental/flow_jobs.py:111
↓ 5 callersMethodcontents_for
Every message body sent under ``role`` across all calls.
lib/crewai/tests/agents/test_agent_inject_date.py:40
↓ 5 callersMethodconvert_to_path
Convert a path to a Path object.
lib/crewai/src/crewai/knowledge/source/excel_knowledge_source.py:129
↓ 5 callersFunctioncreate_converter
Create a converter instance based on the agent or provided class. Args: agent: The agent instance. converter_cls: The converter c
lib/crewai/src/crewai/utilities/converter.py:635
↓ 5 callersMethodcreate_crew
Create a new crew deployment. Args: confirm (bool): Whether to skip the interactive confirmation prompt. ski
lib/cli/src/crewai_cli/deploy/main.py:569
↓ 5 callersMethodcrew_deployment_created_span
Records that a crew deployment was confirmed created, with its uuid. Distinct from :meth:`create_crew_deployment_span`, which fires *before*
lib/crewai-core/src/crewai_core/telemetry.py:474
↓ 5 callersMethodcrew_status_by_name
(self, project_name: str)
lib/crewai-core/src/crewai_core/plus_api.py:495
↓ 5 callersMethodcrew_status_by_uuid
(self, uuid: str)
lib/crewai-core/src/crewai_core/plus_api.py:500
↓ 5 callersFunctiondetect_cpu_band
The machine's core count as a coarse band, never the exact number. Answers "is this a server or someone's laptop", which ``runtime_context``
lib/crewai-core/src/crewai_core/runtime_env.py:288
↓ 5 callersFunctiondiff_checkpoints
(location: str, id1: str, id2: str)
lib/cli/src/crewai_cli/checkpoint_cli.py:542
↓ 5 callersMethodembed_text
Generate embedding for a single text. Args: text: Text to embed Returns: List of floats representin
lib/crewai-tools/src/crewai_tools/rag/embedding_service.py:259
↓ 5 callersFunctionensure_type_in_schemas
Ensure all schema objects in anyOf/oneOf have a 'type' key. OpenAI strict mode requires every schema to have a 'type' key. Empty schemas {} i
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:269
↓ 5 callersFunctionexported_batches
(delegate)
lib/crewai/tests/telemetry/test_grant_export_bounds.py:54
↓ 5 callersFunctionextract_choices_finish_reason_and_id
Extract ``(finish_reason, response_id)`` from a choices-shaped response. Handles both object-style (``response.id``, ``response.choices[0].finish
lib/crewai/src/crewai/llms/_finish_reason_utils.py:21
↓ 5 callersMethodextract_id
Extract the checkpoint ID from a location string. Args: location: The identifier returned by a previous ``checkpoint`` call.
lib/crewai/src/crewai/state/provider/core.py:78
↓ 5 callersFunctionextract_knowledge_context
Extract knowledge from the task prompt.
lib/crewai/src/crewai/knowledge/utils/knowledge_utils.py:4
↓ 5 callersMethodfail
(self, error: Exception)
lib/crewai-core/tests/test_auth_refresh.py:75
↓ 5 callersFunctionfetch_result
Build the (body, content_type, final_url) tuple safe_get_bounded returns.
lib/crewai-tools/tests/rag/test_pdf_loader.py:28
↓ 5 callersMethodget_all_for_provider
Sync wrapper for aget_all_for_provider.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:481
↓ 5 callersMethodget_audience
(self)
lib/crewai/tests/cli/authentication/test_login_usage.py:81
↓ 5 callersMethodget_authorize_url
(self)
lib/cli/tests/authentication/test_login_usage.py:84
↓ 5 callersMethodget_authorize_url
(self)
lib/crewai/tests/cli/authentication/test_login_usage.py:84
↓ 5 callersMethodget_client_id
(self)
lib/crewai/tests/cli/authentication/test_login_usage.py:75
↓ 5 callersMethodget_completed_todos
Get all completed todos. Returns: List of completed TodoItem objects.
lib/crewai/src/crewai/utilities/planning_types.py:161
↓ 5 callersMethodget_issuer
(self)
lib/cli/tests/authentication/test_login_usage.py:90
↓ 5 callersMethodget_issuer
(self)
lib/crewai/tests/cli/authentication/test_login_usage.py:90
↓ 5 callersMethodget_jwks_url
(self)
lib/cli/tests/authentication/test_login_usage.py:93
↓ 5 callersMethodget_jwks_url
(self)
lib/crewai/tests/cli/authentication/test_login_usage.py:93
↓ 5 callersFunctionget_last_event_id
Get the ID of the last emitted event for linear chain tracking. Returns: The event_id of the previously emitted event, or None if no even
lib/crewai/src/crewai/events/event_context.py:74
↓ 5 callersMethodget_loader
(self)
lib/crewai-tools/src/crewai_tools/rag/data_types.py:66
↓ 5 callersMethodget_oauth_scopes
(self)
lib/crewai-core/src/crewai_core/auth/providers/entra_id.py:39
↓ 5 callersMethodget_or_create_collection
Get an existing collection or create it if it doesn't exist. Returns existing collection if found, otherwise creates a new one. Keyw
lib/crewai/src/crewai/rag/chromadb/client.py:207
↓ 5 callersFunctionget_pdf_page_count
Get the page count of a PDF file. Args: file: The PDF file to measure. Returns: Number of pages, or None if page count canno
lib/crewai-files/src/crewai_files/processing/transformers.py:346
↓ 5 callersFunctionget_project_name
Return the project name from ``pyproject.toml``.
lib/crewai-core/src/crewai_core/project.py:274
↓ 5 callersMethodget_ready_todos
Get all todos that are ready to execute (pending with satisfied dependencies). Returns: List of TodoItem objects that can be exec
lib/crewai/src/crewai/utilities/planning_types.py:133
↓ 5 callersFunctionget_telemetry_context
Get the current telemetry execution context.
lib/crewai/src/crewai/telemetry/tracing/context.py:78
↓ 5 callersFunctionget_test_path
(filename, directory)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:31
↓ 5 callersMethodget_token_url
(self)
lib/cli/tests/authentication/test_login_usage.py:87
↓ 5 callersMethodget_token_url
(self)
lib/crewai/tests/cli/authentication/test_login_usage.py:87
↓ 5 callersMethodget_tool
(self, handle: str)
lib/crewai-core/src/crewai_core/plus_api.py:374
↓ 5 callersFunctionguardrail
(result: TaskOutput)
lib/crewai/tests/test_task_guardrails.py:55
↓ 5 callersMethodhandle_method_status
Show method status panel.
lib/crewai/src/crewai/events/utils/console_formatter.py:377
↓ 5 callersMethodhandle_task_started
Show task started panel.
lib/crewai/src/crewai/events/utils/console_formatter.py:289
↓ 5 callersFunctionin_temp_dir
()
lib/cli/tests/tools/test_main.py:21
↓ 5 callersFunctioninline
(reference: str, text: str)
lib/crewai-files/tests/spreadsheets/test_reading.py:713
↓ 5 callersMethodis_batch_initialized
Check if batch is initialized
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:501
↓ 5 callersFunctionkeyless_json_crew
A JSON crew crewAI builds for real, with no key set for LLM's provider.
lib/cli/tests/test_run_usage.py:1307
↓ 5 callersMethodkickoff
(self, inputs: dict[str, str])
lib/cli/tests/test_create_flow.py:657
↓ 5 callersMethodkickoff_async
Start the flow execution asynchronously. This method performs state restoration (if an 'id' is provided and persistence is available)
lib/crewai/src/crewai/flow/runtime/__init__.py:2210
↓ 5 callersMethodkill
(self)
lib/cli/tests/test_cli.py:439
↓ 5 callersFunctionline_to_add
(folder: Path, name: str)
lib/cli/tests/test_run_usage.py:1313
↓ 5 callersMethodlist_scopes
List immediate child scopes under path. Args: path: Scope path to list children of. If None and root_scope is set,
lib/crewai/src/crewai/memory/unified_memory.py:933
↓ 5 callersMethodlist_triggers
List all available triggers from integrations.
lib/cli/src/crewai_cli/triggers/main.py:23
↓ 5 callersFunctionload_artifact
Read back an artifact this run saved: ``version``, or the latest one.
lib/crewai/src/crewai/artifacts.py:406
↓ 5 callersFunctionload_from_url
Load content from a URL. Args: url: The URL to fetch content from kwargs: Additional keyword arguments (can include 'headers' ove
lib/crewai-tools/src/crewai_tools/rag/loaders/utils.py:6
↓ 5 callersFunctionload_project_env
The project's `.env` over this process's environment, with two exceptions. `crewai eval`'s token: the token this process was started with is
lib/cli/src/crewai_cli/run_crew.py:916
↓ 5 callersFunctionlock
Acquire a named lock, yielding while it is held. Args: name: A human-readable lock name (e.g. ``"chromadb_init"``). The bui
lib/crewai-core/src/crewai_core/lock_store.py:80
↓ 5 callersFunctionmain
Entry point for the CLI.
lib/devtools/src/crewai_devtools/cli.py:2618
↓ 5 callersFunctionmake_not_found
(message: str, code: str | None = None)
lib/crewai/tests/llms/openai/test_responses_only_models.py:38
↓ 5 callersMethodmonotonic
(self)
lib/cli/tests/authentication/test_login_usage.py:116
↓ 5 callersMethodon_tool_use
Record a tool usage event in the current trace. Args: tool_name: Name of the tool used. tool_args: Arguments passed t
lib/crewai/src/crewai/experimental/evaluation/evaluation_listener.py:230
↓ 5 callersFunctionorigin_of
(url: str)
lib/crewai-core/src/crewai_core/auth/placeholder.py:79
← previousnext →1,201–1,300 of 20,483, ranked by callers