MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

↓ 5 callersFunction_is_pydantic_model_class
Check if an object is a Pydantic model class. This distinguishes between Pydantic model classes that support structured outputs (have model_j
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:133
↓ 5 callersFunction_leftovers
Anything in .crewai that is neither the record nor its lock file.
lib/crewai/tests/telemetry/test_last_run.py:14
↓ 5 callersFunction_linear_record
Build a simple chain: e0 → e1 → e2 → ... with previous_event_id.
lib/crewai/tests/test_event_record.py:19
↓ 5 callersFunction_llm_response
(llm: BaseLLM, *, use_async: bool)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:87
↓ 5 callersMethod_make_batch_manager
Create a TraceBatchManager with a pre-set trace_batch_id.
lib/crewai/tests/tracing/test_tracing.py:957
↓ 5 callersFunction_make_checkpoint_data
( tasks_completed: int = 2, tasks_total: int = 4, trigger: str = "task_completed", branch: str
lib/crewai/tests/test_checkpoint_cli.py:32
↓ 5 callersFunction_make_dict_flow
()
lib/crewai/tests/test_flow.py:2291
↓ 5 callersMethod_mark_batch_as_failed
Mark a trace batch as failed, routing to the correct endpoint.
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:240
↓ 5 callersMethod_mark_todo_failed
( self, step_number: int, result: str | None = None, error: str | None = None,
lib/crewai/src/crewai/agents/agent_executor.py:696
↓ 5 callersFunction_normalize_snowflake_base_url
Return a Snowflake Cortex REST OpenAI-compatible base URL.
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:21
↓ 5 callersFunction_normalize_source
Convert raw input to appropriate source type.
lib/crewai-files/src/crewai_files/core/sources.py:563
↓ 5 callersFunction_object_ref
Format a class or instance as the canonical ``module:qualname`` ref.
lib/crewai/src/crewai/flow/flow_definition.py:73
↓ 5 callersFunction_only_span
The single exported span with ``name``, failing loudly if not unique.
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:86
↓ 5 callersFunction_oracle_env_config
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool_integration.py:14
↓ 5 callersFunction_parse_agent_response
Parse LLM output as AgentResponse or return raw agent response.
lib/crewai/src/crewai/a2a/wrapper.py:778
↓ 5 callersMethod_process_field_value
(self, response: str, field_type: type | None)
lib/crewai/src/crewai/utilities/training_converter.py:90
↓ 5 callersMethod_reasoning_effort_none_params
Params with an explicit `reasoning_effort="none"`, or None if already set. Removing the key is not enough: absence means "use the server defa
lib/crewai/src/crewai/llms/providers/openai/completion.py:2225
↓ 5 callersMethod_record
(cls)
lib/crewai/tests/hooks/test_interception_conformance.py:292
↓ 5 callersMethod_rejects_reasoning_effort_none
Whether a 400 is the model refusing the `reasoning_effort="none"` retry. GPT-6 Astra and GPT-6.1 Sol offer "none" in the tools 400 and then
lib/crewai/src/crewai/llms/providers/openai/completion.py:2076
↓ 5 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:1335
↓ 5 callersMethod_resolve_external
Resolve an HTTPS MCP server URL into tools.
lib/crewai/src/crewai/mcp/tool_resolver.py:234
↓ 5 callersMethod_resolve_tool_names
(mock_client_class, resolver, config)
lib/crewai/tests/mcp/test_tool_resolver_native.py:105
↓ 5 callersMethod_resolved
(llm: Any)
lib/crewai/tests/test_flow_conversation.py:2915
↓ 5 callersMethod_restore_config
(self, tmp_path: Path, saved: str)
lib/crewai/tests/test_checkpoint.py:977
↓ 5 callersFunction_run
Build a ``_ScriptedFlow``, attach ``script``, kickoff. Returns the flow.
lib/crewai/tests/test_flow_usage_metrics.py:90
↓ 5 callersFunction_run
Run the command with Claude Code replaced by canned answers keyed by project dir.
lib/devtools/tests/test_agents_md_eval.py:156
↓ 5 callersFunction_run_gate
( *, title: str, body: str, issue_payloads: dict[int, dict], author_permission: str | None
lib/crewai/tests/ci/test_ftc_require_issue.py:28
↓ 5 callersMethod_run_once
( self, tmp_path: Path, second_callback: Any, **agent_kwargs: Any )
lib/crewai/tests/test_checkpoint.py:982
↓ 5 callersMethod_safe_error_type
The exception's class name, or None if the argument is not one. Takes the exception *class* rather than a string so that ``str(error)``
lib/crewai/src/crewai/telemetry/telemetry.py:1069
↓ 5 callersFunction_scope_prefix_filter
r"""Build a predicate matching scopes that start with ``prefix``. ``\``, ``%`` and ``_`` in the prefix are escaped so they match literally; o
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:55
↓ 5 callersFunction_serialize_static_value
( value: Any, path: str, )
lib/crewai/src/crewai/flow/dsl/_utils.py:137
↓ 5 callersMethod_set_streams
Set the read and write streams. Args: read: Read stream. write: Write stream.
lib/crewai/src/crewai/mcp/transports/base.py:100
↓ 5 callersFunction_sql_str
Escape a value for use inside a single-quoted SQL string literal.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:44
↓ 5 callersMethod_standard_no_param_error_message
Display a standard error message when no UUID or project name is available.
lib/cli/src/crewai_cli/deploy/main.py:327
↓ 5 callersMethod_store_execution_log
( self, task: Task, output: TaskOutput, task_index: int, was_replayed:
lib/crewai/src/crewai/crew.py:1507
↓ 5 callersFunction_structured_output_agent
()
lib/crewai/tests/test_task_guardrails.py:791
↓ 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:74
↓ 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:454
↓ 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:2674
↓ 5 callersFunction_user_data_file
()
lib/crewai-core/src/crewai_core/user_data.py:23
↓ 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:1318
↓ 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:1172
↓ 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 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:2093
↓ 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:103
↓ 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 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:633
↓ 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:567
↓ 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:494
↓ 5 callersMethodcrew_status_by_uuid
(self, uuid: str)
lib/crewai-core/src/crewai_core/plus_api.py:499
↓ 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:268
↓ 5 callersFunctionexported_batches
(delegate)
lib/crewai/tests/telemetry/test_grant_export_bounds.py:54
↓ 5 callersMethodextract_all_tools
(self)
lib/crewai-tools/src/crewai_tools/generate_tool_specs.py:30
↓ 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 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_completed_todos
Get all completed todos. Returns: List of completed TodoItem objects.
lib/crewai/src/crewai/utilities/planning_types.py:161
↓ 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:334
↓ 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
← previousnext →1,101–1,200 of 19,663, ranked by callers