MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

↓ 5 callersFunction_parse_agent_response
Parse LLM output as AgentResponse or return raw agent response.
lib/crewai/src/crewai/a2a/wrapper.py:748
↓ 5 callersMethod_prepare_tools
( self, agent: BaseAgent, task: Task, tools: list[BaseTool] )
lib/crewai/src/crewai/crew.py:1673
↓ 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:1324
↓ 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:1503
↓ 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:113
↓ 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:212
↓ 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:452
↓ 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:2663
↓ 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:161
↓ 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:1307
↓ 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:1166
↓ 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:2083
↓ 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:115
↓ 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:480
↓ 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:314
↓ 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_tool
(self, handle: str)
lib/crewai-core/src/crewai_core/plus_api.py:373
↓ 5 callersFunctionguardrail
(result: TaskOutput)
lib/crewai/tests/test_task_guardrails.py:53
↓ 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 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:499
↓ 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:2195
↓ 5 callersMethodkill
(self)
lib/cli/tests/test_cli.py:432
↓ 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
← previousnext →1,101–1,200 of 19,482, ranked by callers