MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions15,572 in github.com/crewAIInc/crewAI

↓ 12 callersMethodresume_live_updates
Resume Live session updates after human input is complete. New streaming sessions will be created on-demand when needed. This method
lib/crewai/src/crewai/events/utils/console_formatter.py:202
↓ 12 callersMethodsave
(self, records: list[MemoryRecord])
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:291
↓ 12 callersMethodstart
(self)
lib/crewai/tests/utilities/test_events.py:629
↓ 12 callersMethodto_pydantic
Generate structured output using the specified Pydantic model. Returns: Instance of the specified Pydantic model with structured
lib/crewai/src/crewai/utilities/internal_instructor.py:139
↓ 11 callersMethod_agent
(self, **kwargs)
lib/crewai/tests/test_tool_cache_default.py:161
↓ 11 callersFunction_attributes
(span: MagicMock)
lib/crewai-core/tests/test_telemetry_deploy.py:38
↓ 11 callersMethod_collapse_to_outcome
Collapse free-form feedback to a predefined outcome using LLM. This method uses the specified LLM to interpret the human's feedback a
lib/crewai/src/crewai/flow/runtime/__init__.py:3804
↓ 11 callersMethod_make_state
(self)
lib/crewai/tests/test_checkpoint.py:193
↓ 11 callersMethod_run
Read a file, or a window of its lines, as text.
lib/crewai-tools/src/crewai_tools/tools/file_read_tool/file_read_tool.py:174
↓ 11 callersMethod_run
Process input text synchronously.
lib/crewai/tests/tools/test_base_tool.py:149
↓ 11 callersMethod_setup_connected_tool
(self, rows: list[tuple], **kwargs)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:391
↓ 11 callersFunction_split_messages_into_chunks
Split messages into chunks at message boundaries. Excludes system messages and expands oversized single messages before chunking. Each chunk
lib/crewai/src/crewai/utilities/agent_utils.py:987
↓ 11 callersFunction_stub_api
A CrewAI AMP client stub serving one skill.
lib/crewai/tests/skills/test_registry.py:52
↓ 11 callersFunction_write_json_checkpoint
( base_dir: str, branch: str = "main", name: str | None = None, data: str | None = None, t
lib/crewai/tests/test_checkpoint_cli.py:73
↓ 11 callersMethodadd
Add a new task output to storage. Args: task: The task that was executed. output: The output produced by the task.
lib/crewai/src/crewai/utilities/task_output_storage_handler.py:59
↓ 11 callersFunctionbuild
(model: str = "gpt-5.6-sol", **kwargs)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:46
↓ 11 callersFunctionbuild_agent
(**kwargs: Any)
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:140
↓ 11 callersFunctioncreate_folder_structure
( name: str, parent_folder: str | None = None )
lib/cli/src/crewai_cli/create_crew.py:48
↓ 11 callersFunctioncreate_test_png
Create a minimal valid PNG for testing.
lib/crewai-files/tests/processing/test_transformers.py:20
↓ 11 callersMethoddelete
Delete an uploaded file. Args: file_id: The file identifier to delete. Returns: True if deletion was success
lib/crewai-files/src/crewai_files/uploaders/base.py:76
↓ 11 callersMethoddeploy
Deploy a crew using either UUID or project name. Args: uuid (Optional[str]): The UUID of the crew to deploy.
lib/cli/src/crewai_cli/deploy/main.py:341
↓ 11 callersFunctionend_execution
End an execution context owned by the current kickoff. Nested kickoffs pass ``None`` and leave the outer uuid in place.
lib/crewai/src/crewai/execution.py:176
↓ 11 callersFunctionexecute_single_native_tool_call
Execute a single native tool call with full lifecycle management. Handles: arg parsing, tool lookup, max-usage check, cache read/write, befor
lib/crewai/src/crewai/utilities/agent_utils.py:1634
↓ 11 callersMethodexecute_sql
Execute *sql_query* and return the results as a list of dicts. Parameters ---------- sql_query: The SQL statement
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:439
↓ 11 callersMethodfinalize_session_traces
Emit a final ``FlowFinishedEvent`` and finish the execution trace. Pairs with ``flow.defer_trace_finalization = True`` (or ``Conversa
lib/crewai/src/crewai/flow/conversational_mixin.py:1573
↓ 11 callersMethodfrom_checkpoint
Restore a Crew from a checkpoint, ready to resume via kickoff(). Args: config: Checkpoint configuration with ``restore_from`` set
lib/crewai/src/crewai/crew.py:432
↓ 11 callersMethodfrom_string
Parse the ``application[/action][@connection_uuid|private]`` syntax. Raises: ValueError: If the selector does not follow the supp
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/integrations_client.py:29
↓ 11 callersFunctionget_after_llm_call_hooks
Get all registered global after_llm_call hooks. Returns: List of registered after hooks
lib/crewai/src/crewai/hooks/llm_hooks.py:305
↓ 11 callersMethodget_mcp_tools
(self, mcps: list[str])
lib/crewai/tests/agents/agent_builder/test_base_agent.py:25
↓ 11 callersFunctionhandle_max_iterations_exceeded
Handles the case when the maximum number of iterations is exceeded. Performs one more LLM call to get the final answer. Args: printer: Pr
lib/crewai/src/crewai/utilities/agent_utils.py:376
↓ 11 callersFunctionparse_skill_ref
Parse a registry reference into its organisation, name and version. Accepts '@org/skill-name' and the version-pinned '@org/skill-name@1.2.0'
lib/crewai/src/crewai/skills/registry.py:46
↓ 11 callersFunctionread_file
(path)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:35
↓ 11 callersMethodrecall
Retrieve relevant memories. ``shallow`` embeds the query directly and runs a single vector search. ``deep`` (default) uses the Recall
lib/crewai/src/crewai/memory/unified_memory.py:686
↓ 11 callersFunctionrequire
Import a module, optionally returning a specific attribute. Args: name: The module name to import. purpose: Description of what r
lib/crewai/src/crewai/utilities/import_utils.py:21
↓ 11 callersMethodrun
(self)
lib/cli/tests/test_run_crew.py:533
↓ 11 callersMethodrun_crew
Execute the crew and capture the result.
lib/crewai/src/crewai/crew.py:1021
↓ 11 callersMethodsearch
( self, query: list[str], limit: int = 5, metadata_filter: dict[str, Any] | No
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:59
↓ 11 callersFunctionvalidate_video
Validate a video file against constraints. Args: file: The video file to validate. constraints: Video constraints to validate aga
lib/crewai-files/src/crewai_files/processing/validators.py:388
↓ 10 callersFunction_create_analyst_crew
Create a simple analyst crew for file analysis.
lib/crewai/tests/test_flow_multimodal.py:80
↓ 10 callersFunction_create_batch_slice
Create a batch slice from prepared documents. Args: prepared: PreparedDocuments containing ids, texts, and metadatas. start_index
lib/crewai/src/crewai/rag/chromadb/utils.py:112
↓ 10 callersMethod_emit_stream_chunk_event
Emit stream chunk event. Args: chunk: The text content of the chunk. from_task: The task that initiated the call.
lib/crewai/src/crewai/llms/base_llm.py:694
↓ 10 callersMethod_extract_finish_reason_and_response_id
LiteLLM responses/chunks share the choices-shape with OpenAI/Azure; delegate to the shared extractor.
lib/crewai/src/crewai/llm.py:2231
↓ 10 callersFunction_find_checkpoint
Find the CheckpointConfig for an event source. Walks known relationships: Task -> Agent -> Crew. Flow and Agent carry their own checkpoint fi
lib/crewai/src/crewai/state/checkpoint_listener.py:88
↓ 10 callersFunction_format_messages_for_summary
Format messages with role labels for summarization. Skips system messages. Handles None content, tool_calls, and multimodal content blocks.
lib/crewai/src/crewai/utilities/agent_utils.py:937
↓ 10 callersMethod_git_path
(self, mock_input, mock_repository, mock_fetch_env)
lib/cli/tests/deploy/test_deploy_main.py:831
↓ 10 callersFunction_llm_stop_words_applied
Apply the executor's stop words to the LLM for the duration of one call. Uses :func:`crewai.llms.base_llm.call_stop_override` so the LLM's stop
lib/crewai/src/crewai/utilities/agent_utils.py:344
↓ 10 callersMethod_make_manager
(self, *, ephemeral: bool)
lib/crewai/tests/tracing/test_tracing.py:1588
↓ 10 callersMethod_run
(self, question: str)
lib/crewai-tools/tests/base_tool_test.py:46
↓ 10 callersMethod_save_to_memory
Save task result to unified memory (memory or crew._memory).
lib/crewai/src/crewai/agents/agent_builder/base_agent_executor.py:31
↓ 10 callersFunction_serialize_llm_for_context
(llm: Any)
lib/crewai/src/crewai/flow/human_feedback.py:113
↓ 10 callersMethod_show_version_update_message_if_needed
Show version update message if a newer version is available. Only displays when verbose mode is enabled and not running in CI/CD.
lib/crewai/src/crewai/events/utils/console_formatter.py:60
↓ 10 callersMethod_validate_structured_output
Validate and parse structured output. Args: response: Raw response string response_format: Optional Pydantic model fo
lib/crewai/src/crewai/llms/base_llm.py:935
↓ 10 callersMethodadd
Add a tool result to the cache. Declared failures are never stored: replaying one would make a transient error permanent for the rest
lib/crewai/src/crewai/agents/cache/cache_handler.py:23
↓ 10 callersFunctionbuild
(model: str, **kwargs)
lib/crewai/tests/llms/openai/test_responses_only_models.py:34
↓ 10 callersFunctionbuild_rich_field_description
Build a comprehensive field description including constraints. Embeds format, enum, pattern, min/max, and example constraints into the descri
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:724
↓ 10 callersFunctionbuild_tool
Build a tool whose every scrape entrypoint answers with ``raw_response``. ``sdk_logs`` reproduces the oxylabs SDK's habit of logging the real cau
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:177
↓ 10 callersFunctionconvert_to_model
Convert a result to a Pydantic model or JSON. Args: result: The result to convert. Usually a JSON string, but a Pydantic inst
lib/crewai/src/crewai/utilities/converter.py:206
↓ 10 callersMethodcreate_agent_executor
Create an agent executor for the agent. Returns: An instance of the CrewAgentExecutor class.
lib/crewai/src/crewai/agent/core.py:1159
↓ 10 callersFunctionenforce_rpm_limit
Enforce the requests per minute (RPM) limit if applicable. Args: request_within_rpm_limit: Function to enforce RPM limit.
lib/crewai/src/crewai/utilities/agent_utils.py:468
↓ 10 callersFunctionephemeral_tracing
Own buffering and consent; activation can change between deferred turns.
lib/crewai/src/crewai/telemetry/tracing/ephemeral.py:166
↓ 10 callersMethodexecute_action
Execute an action with the given arguments.
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/integrations_client.py:278
↓ 10 callersFunctionfreeze
Freeze the current Edge into ``docs/v<version>/`` and update docs.json. Args: version: Release version as ``"X.Y.Z"`` (no leading ``v``).
lib/devtools/src/crewai_devtools/docs_versioning.py:100
↓ 10 callersMethodfrom_flow
Build an expression with the standard Flow runtime context.
lib/crewai/src/crewai/flow/expressions.py:235
↓ 10 callersMethodget_mcp_tools
Convert MCP server references/configs to CrewAI tools. Delegates to :class:`~crewai.mcp.tool_resolver.MCPToolResolver`.
lib/crewai/src/crewai/agent/core.py:1274
↓ 10 callersFunctionhandler
(source: object, event: BaseEvent)
lib/crewai/tests/utilities/events/test_shutdown.py:27
↓ 10 callersMethodincrement_tools_errors
Increment the tools errors counter.
lib/crewai/src/crewai/task.py:1144
↓ 10 callersMethodkickoff_for_each
Executes the Crew's workflow for each input and aggregates results. Args: inputs: List of input dictionaries, one per execution.
lib/crewai/src/crewai/crew.py:1099
↓ 10 callersMethodlist_records
List records in a scope, newest first. Args: scope: Optional scope path prefix to filter by. If None and root_scope
lib/crewai/src/crewai/memory/unified_memory.py:944
↓ 10 callersMethodload
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/webpage_loader.py:16
↓ 10 callersMethodload
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/docx_loader.py:11
↓ 10 callersMethodload_state
Load the most recent state for a given flow UUID. Args: flow_uuid: Unique identifier for the flow instance Returns:
lib/crewai/src/crewai/flow/persistence/sqlite.py:195
↓ 10 callersFunctionregister_after_llm_call_hook
Register a global after_llm_call hook. Global hooks are added to all executors automatically. This is a convenience function for registering
lib/crewai/src/crewai/hooks/llm_hooks.py:266
↓ 10 callersMethodrequest
( self, method: str | bytes, url: str | bytes, *args: Any, **kwargs: Any )
lib/crewai-tools/src/crewai_tools/security/safe_requests.py:72
↓ 10 callersMethodreset_memories
Reset specific or all memories for the crew. Args: command_type: Type of memory to reset. Valid options: 'memory'
lib/crewai/src/crewai/crew.py:2353
↓ 10 callersFunctionsafe_get_bounded
GET a URL through :func:`safe_get`, refusing bodies over *max_bytes*. The body is streamed and abandoned as soon as it crosses the limit, so an
lib/crewai-tools/src/crewai_tools/security/safe_requests.py:177
↓ 10 callersMethodsearch
Search for similar documents using a query. Keyword Args: collection_name: Name of the collection to search in. query
lib/crewai/src/crewai/rag/qdrant/client.py:322
↓ 10 callersMethodset_files
Set available input files. Args: files: Dictionary mapping file names to file inputs.
lib/crewai/src/crewai/tools/agent_tools/read_file_tool.py:39
↓ 10 callersMethodstatus
Get the git status in porcelain format.
lib/cli/src/crewai_cli/git.py:84
↓ 10 callersMethodtask_execution
Generate a standard prompt for task execution. Returns: A dictionary containing the constructed prompt(s).
lib/crewai/src/crewai/utilities/prompts.py:93
↓ 10 callersFunctiontelemetry_session
Capture a crew or flow using the enterprise event/session lifecycle. Hosts supply verified identity, collectors, resources, span processors,
lib/crewai/src/crewai/telemetry/tracing/session.py:266
↓ 9 callersMethod_asave_documents
Save the documents to the storage asynchronously. This method should be called after the chunks and embeddings are generated. Raises
lib/crewai/src/crewai/knowledge/source/base_knowledge_source.py:67
↓ 9 callersFunction_build_docs_root
Build a minimal docs/ tree with one previous snapshot + Edge + docs.json. The shape mirrors the real repo: an Edge directory with per-locale fold
lib/devtools/tests/test_docs_versioning.py:16
↓ 9 callersMethod_classify_import_error
Turn a raw import-time exception into a user-actionable finding.
lib/cli/src/crewai_cli/deploy/validate.py:851
↓ 9 callersFunction_completion_body
(content: str)
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:44
↓ 9 callersFunction_emit
Run one telemetry span method against a mocked tracer. The singleton is reset first: it caches the provider built on the very first construct
lib/crewai/tests/telemetry/test_telemetry.py:331
↓ 9 callersMethod_extract_anthropic_token_usage
Extract token usage and response metadata from Anthropic response.
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:2013
↓ 9 callersMethod_get_or_create_interpreter
Get or create a code interpreter for the specified thread. Args: thread_id: Thread ID for the code interpreter session R
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:520
↓ 9 callersFunction_is_non_roundtrippable
Return ``True`` if *fn* cannot survive a serialize/deserialize round-trip. Built-in functions, plain module-level functions, and classes produce
lib/crewai/src/crewai/types/callback.py:31
↓ 9 callersFunction_load_user_data
Read the user-data JSON file, returning ``{}`` on missing/corrupt.
lib/crewai-core/src/crewai_core/user_data.py:34
↓ 9 callersFunction_mock_get
(monkeypatch: pytest.MonkeyPatch, get_response: Any)
lib/crewai-tools/tests/utilities/test_safe_requests.py:62
↓ 9 callersFunction_prepare_documents_for_chromadb
Prepare documents for ChromaDB by extracting IDs, texts, and metadata. Args: documents: List of BaseRecord documents to prepare. Ret
lib/crewai/src/crewai/rag/chromadb/utils.py:56
↓ 9 callersFunction_python_ref_errors
(value: Any, source: str | Path)
lib/crewai/src/crewai/project/json_loader.py:612
↓ 9 callersMethod_rejects_reasoning_effort_as_unsupported
Whether a 400 is the server refusing `reasoning_effort` for this model. Non-reasoning models reject the parameter itself, in one of two shape
lib/crewai/src/crewai/llms/providers/openai/completion.py:1992
↓ 9 callersFunction_resolve_checkpoint
( location: str, checkpoint_id: str | None )
lib/cli/src/crewai_cli/checkpoint_cli.py:447
↓ 9 callersMethod_resolve_native
Resolve an ``MCPServerConfig`` into tools. Returns ``(tools, clients)`` where *clients* is always empty for native tools (clients are
lib/crewai/src/crewai/mcp/tool_resolver.py:333
↓ 9 callersMethod_run_sync
Run an async coroutine from sync context without blocking event loop.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:403
↓ 9 callersMethod_scope_path
(self, scope: str | None)
lib/crewai/src/crewai/memory/memory_scope.py:93
↓ 9 callersMethod_set_plan_step_status
Set status for an explicit plan step reported by the planner.
lib/cli/src/crewai_cli/crew_run_tui.py:1739
↓ 9 callersMethod_status_response
( self, *, uuid: str = "test-uuid", zip_deployment: bool | None = None,
lib/cli/tests/deploy/test_deploy_main.py:227
↓ 9 callersFunctionactivate_skill
Promote a skill to INSTRUCTIONS disclosure level. Idempotent: returns the skill unchanged if already at or above INSTRUCTIONS. Args:
lib/crewai/src/crewai/skills/loader.py:120
← previousnext →301–400 of 15,572, ranked by callers