MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions13,792 in github.com/crewAIInc/crewAI

↓ 14 callersFunctionget_conversion_instructions
Generate conversion instructions based on the model and LLM capabilities. Args: model: A Pydantic model class. llm: The language
lib/crewai/src/crewai/utilities/converter.py:530
↓ 14 callersMethodload
Load all task output records from the database. Returns: List of dictionaries containing task output records, ordered by task_ind
lib/crewai/src/crewai/memory/storage/kickoff_task_outputs_storage.py:162
↓ 14 callersFunctionload_skill_metadata
Load a skill at METADATA disclosure level. Parses SKILL.md frontmatter only and validates directory name. Args: skill_dir: Path to t
lib/crewai/src/crewai/skills/parser.py:95
↓ 14 callersMethodpause_live_updates
Pause Live session updates to allow for human input without interference. This stops any active streaming Live session to prevent console ref
lib/crewai/src/crewai/events/utils/console_formatter.py:192
↓ 14 callersFunctionplatform_context
Context manager to temporarily set the platform integration token. Args: integration_token: The integration token to set within the context
lib/crewai/src/crewai/context.py:52
↓ 14 callersFunctionsanitize_scope_name
Sanitize a name for use in hierarchical scope paths. Converts to lowercase, replaces non-alphanumeric chars (except underscore and hyphen) wi
lib/crewai/src/crewai/memory/utils.py:8
↓ 14 callersMethodset
Sync wrapper for aset.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:429
↓ 13 callersFunction_build_crew
(policy: ToolFailurePolicy | None = None, **task_kwargs: Any)
lib/crewai/tests/tools/test_tool_failure.py:119
↓ 13 callersMethod_initialize_backend_batch
Send batch initialization to backend
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:127
↓ 13 callersMethod_invoke_after_llm_call_hooks
Invoke after_llm_call hooks for direct LLM calls (no agent context). This method should be called by native provider implementations after
lib/crewai/src/crewai/llms/base_llm.py:1049
↓ 13 callersFunction_is_version_yanked
Return ``(yanked, reason)`` for ``version_str`` against PyPI releases.
lib/crewai-core/src/crewai_core/version.py:91
↓ 13 callersMethod_usage_to_dict
Convert a provider usage object to a plain dict and flatten the cache/reasoning sub-counts that LiteLLM nests under provider-specific
lib/crewai/src/crewai/llm.py:2092
↓ 13 callersMethod_validate_response
Handle and display error messages from API responses. Args: response: The response from the Plus API.
lib/cli/src/crewai_cli/command.py:40
↓ 13 callersFunction_write
(tmp_path: Path, contents: str)
lib/cli/tests/test_run_declarative_flow.py:261
↓ 13 callersMethodcancel
(id)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:617
↓ 13 callersMethoddelete
Delete memories matching the given criteria. Args: scope_prefix: Optional scope path prefix. categories: Optional lis
lib/crewai/src/crewai/memory/storage/backend.py:80
↓ 13 callersMethodexecute
(self)
lib/crewai/tests/test_streaming_integration.py:236
↓ 13 callersMethodfinalize_batch
Finalize batch and return it for sending
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:325
↓ 13 callersMethodformat
Format log record as JSON string.
lib/crewai/src/crewai/a2a/utils/logging.py:23
↓ 13 callersMethodgenerate
(self)
lib/crewai/tests/test_flow_from_definition.py:3667
↓ 13 callersMethodget_client_id
(self)
lib/crewai-core/src/crewai_core/auth/providers/okta.py:30
↓ 13 callersFunctionget_constraints_for_provider
Get constraints for a provider by name or return if already ProviderConstraints. Args: provider: Provider name string or ProviderConstrai
lib/crewai-files/src/crewai_files/processing/constraints.py:323
↓ 13 callersMethodinsert
(self, index: int, tool: T)
lib/crewai-tools/src/crewai_tools/adapters/tool_collection.py:48
↓ 13 callersFunctionparse_toml
Parse a TOML string and return its parsed contents.
lib/crewai-core/src/crewai_core/project.py:36
↓ 13 callersFunctionparse_tool_call_args
Parse tool call arguments from a JSON string or dict. Returns: ``(args_dict, None)`` on success, or ``(None, error_result)`` on J
lib/crewai/src/crewai/utilities/agent_utils.py:1837
↓ 13 callersMethodread
(self, tool: str, input: str)
lib/crewai/tests/tools/test_tool_failure.py:1068
↓ 13 callersMethodreset
(self)
lib/crewai/tests/agents/test_agent.py:1923
↓ 12 callersFunction_assert_tools_overlapped
()
lib/crewai/tests/agents/test_native_tool_calling.py:131
↓ 12 callersFunction_make_tar_gz
Build an in-memory .tar.gz containing the given filename → content mapping.
lib/crewai/tests/skills/test_cache.py:16
↓ 12 callersMethod_oauth2_base_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/okta.py:40
↓ 12 callersFunction_parallel_prompt
()
lib/crewai/tests/agents/test_native_tool_calling.py:103
↓ 12 callersFunction_pin_crewai_deps
Replace crewai dependency version pins in a pyproject.toml string. Handles both pinned (==) and minimum (>=) version specifiers, as well as e
lib/devtools/src/crewai_devtools/cli.py:622
↓ 12 callersFunction_saved_methods
(store)
lib/crewai/tests/test_flow_from_definition.py:3411
↓ 12 callersFunction_validate_deployment_repo_crewai_pin
Fail unless every effective canary CrewAI requirement has the exact pin.
lib/devtools/src/crewai_devtools/cli.py:1554
↓ 12 callersMethodaadd_documents
Add documents with their embeddings to a collection asynchronously. Keyword Args: collection_name: The name of the collection to
lib/crewai/src/crewai/rag/qdrant/client.py:279
↓ 12 callersMethodclear
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1248
↓ 12 callersMethodcreate
(self, handle: str)
lib/cli/src/crewai_cli/tools/main.py:68
↓ 12 callersFunctioncreate_project_zip
Create a deployable ZIP archive for a CrewAI project.
lib/cli/src/crewai_cli/deploy/archive.py:39
↓ 12 callersFunctiondownload_skill
Download a skill from the registry and store it in the cache. Args: org: Organisation slug. name: Skill name. source: Opt
lib/crewai/src/crewai/skills/registry.py:275
↓ 12 callersMethodformat_output_for_agent
(self, raw_result: object)
lib/crewai/tests/tools/test_base_tool.py:610
↓ 12 callersMethodget_cached_path
Return the cached skill directory path if usable, else None. Args: org: Organisation slug. name: Skill name.
lib/crewai/src/crewai/skills/cache.py:44
↓ 12 callersFunctionget_current_call_id
Get current call_id from context
lib/crewai/src/crewai/llms/base_llm.py:139
↓ 12 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:715
↓ 12 callersMethodlist
List all CLI configuration parameters.
lib/cli/src/crewai_cli/settings/main.py:24
↓ 12 callersFunctionllm_call_context
Context manager that establishes an LLM call scope with a unique call_id.
lib/crewai/src/crewai/llms/base_llm.py:91
↓ 12 callersMethodload
Load and process all files from a directory recursively. Args: source_content: Directory path or URL to a directory listing
lib/crewai-tools/src/crewai_tools/rag/loaders/directory_loader.py:10
↓ 12 callersFunctionparse_frontmatter
Split SKILL.md content into frontmatter dict and body text. Args: content: Raw SKILL.md file content. Returns: Tuple of (fro
lib/crewai/src/crewai/skills/parser.py:39
↓ 12 callersMethodread
Fetch content from URL (for providers that don't support URL references).
lib/crewai-files/src/crewai_files/core/sources.py:528
↓ 12 callersFunctionregister_before_llm_call_hook
Register a global before_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:191
↓ 12 callersFunctionresolve_registry_ref
Resolve a registry reference to a Skill object. Resolution order: 1. ./skills/{name}/ in the current working directory (project-local) 2.
lib/crewai/src/crewai/skills/registry.py:114
↓ 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:289
↓ 12 callersMethodstart
(self)
lib/crewai/tests/test_crew.py:4547
↓ 12 callersMethodstart
(self)
lib/crewai/tests/utilities/test_events.py:522
↓ 12 callersMethodto_dict
Convert to JSON-RPC error object format.
lib/crewai/src/crewai/a2a/errors.py:146
↓ 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:143
↓ 11 callersMethod_make_state
(self)
lib/crewai/tests/test_checkpoint.py:192
↓ 11 callersMethod_require_memory
Return the bound ``Memory`` or raise a clear error if missing.
lib/crewai/src/crewai/memory/memory_scope.py:77
↓ 11 callersFunction_resolve_tools
Resolve tool specs into tool instances or serialized BaseTool dicts. Strings keep the existing shorthand behavior. Dicts are passed through so
lib/crewai/src/crewai/project/json_loader.py:1803
↓ 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_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:69
↓ 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:58
↓ 11 callersFunctionbuild
(model: str = "gpt-5.6-sol", **kwargs)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:46
↓ 11 callersMethodclose
Kill the cached persistent sandbox if one exists.
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_base_tool.py:183
↓ 11 callersFunctioncreate_folder_structure
( name: str, parent_folder: str | None = None )
lib/cli/src/crewai_cli/create_crew.py:46
↓ 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 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:1557
↓ 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 callersMethodfrom_dict
Create a Fingerprint from a dictionary representation. Args: data: Dictionary representation of a fingerprint Returns:
lib/crewai/src/crewai/security/fingerprint.py:136
↓ 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:266
↓ 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 callersMethodreplay
Replay the crew execution from a specific task.
lib/crewai/src/crewai/crew.py:2021
↓ 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_crew
Execute the crew and capture the result.
lib/crewai/src/crewai/crew.py:1014
↓ 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:663
↓ 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:2196
↓ 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_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_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:83
↓ 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:904
↓ 10 callersMethodadd
Add a new task output record to the database. Args: task: The Task object containing task details. output: Dictionary
lib/crewai/src/crewai/memory/storage/kickoff_task_outputs_storage.py:66
↓ 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:722
↓ 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:190
↓ 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:1124
↓ 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:472
↓ 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 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:1239
← previousnext →201–300 of 13,792, ranked by callers