MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions14,804 in github.com/crewAIInc/crewAI

↓ 15 callersFunctionvalidate_jwt_token
Verify a JWT's signature and claims using PyJWT. Args: jwt_token: The JWT (JWS) string to validate. jwks_url: The URL of the JWKS
lib/crewai-core/src/crewai_core/auth/utils.py:13
↓ 14 callersMethod_add
( self, severity: Severity, code: str, title: str, detail: str = "",
lib/cli/src/crewai_cli/deploy/validate.py:259
↓ 14 callersMethod_initialize_backend_batch
Send batch initialization to backend
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:129
↓ 14 callersMethod_is_conversational_enabled
(self)
lib/crewai/src/crewai/flow/conversational_mixin.py:987
↓ 14 callersFunction_make_list_flow
()
lib/crewai/tests/test_flow.py:2217
↓ 14 callersFunction_scaffold_standard_crew
( root: Path, *, name: str = "my_crew", include_crew_py: bool = True, include_agents_yaml:
lib/cli/tests/deploy/test_validate.py:53
↓ 14 callersMethodadd_documents
Add documents with their embeddings to a collection. Keyword Args: collection_name: The name of the collection to add documents t
lib/crewai/src/crewai/rag/qdrant/client.py:234
↓ 14 callersMethoddiscard
(self)
lib/crewai/tests/test_flow_from_definition.py:3880
↓ 14 callersFunctiondiscover_skills
Scan a directory for skill directories containing SKILL.md. Loads each discovered skill at METADATA disclosure level. Args: search_p
lib/crewai/src/crewai/skills/loader.py:44
↓ 14 callersMethoddrain_writes
Block until all pending background saves have completed. Called automatically by ``recall()`` and should be called by the crew at shu
lib/crewai/src/crewai/memory/unified_memory.py:350
↓ 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:546
↓ 14 callersFunctionget_execution_uuid
Return the active execution uuid, if any.
lib/crewai/src/crewai/execution.py:27
↓ 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 callersFunctionmessage_content_text
Return the message content as text. Used wherever a message has to collapse to a string -- token estimation, memory, and the one turn promote
lib/crewai/src/crewai/utilities/agent_utils.py:880
↓ 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 callersMethodquery
(self, *args: Any, **kwargs: Any)
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:102
↓ 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
↓ 14 callersMethodto_dict
Convert to JSON-RPC error object format.
lib/crewai/src/crewai/a2a/errors.py:146
↓ 13 callersFunction_build_crew
(policy: ToolFailurePolicy | None = None, **task_kwargs: Any)
lib/crewai/tests/tools/test_tool_failure.py:119
↓ 13 callersFunction_estimate_token_count
Estimate token count using a conservative cross-provider heuristic. Args: text: The text to estimate tokens for. Returns: Es
lib/crewai/src/crewai/utilities/agent_utils.py:847
↓ 13 callersMethod_invoke_after_llm_call_hooks
Invoke after_llm_call hooks for an LLM call that reached the provider. This method should be called by native provider implementations after
lib/crewai/src/crewai/llms/base_llm.py:1090
↓ 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_require_memory
Return the bound ``Memory`` or raise a clear error if missing.
lib/crewai/src/crewai/memory/memory_scope.py:79
↓ 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:2124
↓ 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:262
↓ 13 callersMethodcancel
(id)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:617
↓ 13 callersMethodclear
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1248
↓ 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 callersMethodfinalize_batch
Finalize batch and return it for sending
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:327
↓ 13 callersMethodformat
Format log record as JSON string.
lib/crewai/src/crewai/a2a/utils/logging.py:23
↓ 13 callersMethodgenerate
(self)
lib/crewai/tests/telemetry/test_flow_telemetry.py:286
↓ 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:1918
↓ 13 callersMethodread
(self, tool: str, input: str)
lib/crewai/tests/tools/test_tool_failure.py:1068
↓ 13 callersMethodstop
Stop the MCP server.
lib/crewai-tools/src/crewai_tools/adapters/mcp_adapter.py:196
↓ 12 callersFunctionCrewaiPlatformTools
Factory function that returns crewai platform tools. Args: apps: List of platform apps to get tools that are available on the platform.
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/crewai_platform_tools.py:17
↓ 12 callersFunction_assert_tools_overlapped
()
lib/crewai/tests/agents/test_native_tool_calling.py:131
↓ 12 callersMethod_emit_call_denied_event
Report a hook deny as a deny rather than as a provider failure. The call still owes its started event a terminal one, so the failed event
lib/crewai/src/crewai/llms/base_llm.py:672
↓ 12 callersFunction_kickoff
(payload: Any, agent_cls: type = Agent)
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:65
↓ 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 callersFunction_normalize_ollama_base_url
Normalize an Ollama base URL into a full OpenAI-compatible endpoint. ``OLLAMA_HOST`` follows Ollama's own convention and may be a bare host (
lib/crewai/src/crewai/llms/providers/openai_compatible/completion.py:98
↓ 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:3548
↓ 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 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 callersFunctionfind_http_status
Search exceptions for an HTTP status reported by an MCP server. Args: *errors: Exceptions to search, in order of preference. Returns
lib/crewai/src/crewai/mcp/exceptions.py:230
↓ 12 callersMethodformat_output_for_agent
(self, raw_result: object)
lib/crewai/tests/tools/test_base_tool.py:610
↓ 12 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
↓ 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 callersMethodget_context_window_size
Returns the context window size, using 75% of the maximum to avoid cutting off messages mid-thread. Raises: Valu
lib/crewai/src/crewai/llm.py:2502
↓ 12 callersFunctionget_current_call_id
Get current call_id from context
lib/crewai/src/crewai/llms/base_llm.py:148
↓ 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:727
↓ 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:100
↓ 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 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: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:143
↓ 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:3831
↓ 11 callersMethod_make_state
(self)
lib/crewai/tests/test_checkpoint.py:192
↓ 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_safe_telemetry_procedure
Run a void telemetry procedure, swallowing failures.
lib/crewai-core/src/crewai_core/telemetry.py:308
↓ 11 callersMethod_setup_connected_tool
(self, rows: list[tuple], **kwargs)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:391
↓ 11 callersMethod_should_defer_trace_finalization
Whether this kickoff should defer final flow trace finalization.
lib/crewai/src/crewai/flow/runtime/__init__.py:505
↓ 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:991
↓ 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 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
↓ 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 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:47
↓ 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:1638
↓ 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 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 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
← previousnext →201–300 of 14,804, ranked by callers