MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions12,753 in github.com/crewAIInc/crewAI

↓ 13 callersMethodreset
(self)
lib/crewai/tests/agents/test_agent.py:1923
↓ 13 callersFunctionsafe_get
GET a URL while validating each redirect target before following it.
lib/crewai-tools/src/crewai_tools/security/safe_requests.py:51
↓ 13 callersMethodto_structured_tool
(self)
lib/crewai/tests/utilities/test_planning_handler.py:125
↓ 12 callersFunction_assert_tools_overlapped
()
lib/crewai/tests/agents/test_native_tool_calling.py:131
↓ 12 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:1041
↓ 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:620
↓ 12 callersFunction_saved_methods
(store)
lib/crewai/tests/test_flow_from_definition.py:3395
↓ 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 callersFunctioncreate_project_zip
Create a deployable ZIP archive for a CrewAI project.
lib/cli/src/crewai_cli/deploy/archive.py:39
↓ 12 callersMethodfinalize_batch
Finalize batch and return it for sending
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:320
↓ 12 callersMethodformat_output_for_agent
(self, raw_result: object)
lib/crewai/tests/tools/test_base_tool.py:598
↓ 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:632
↓ 12 callersFunctionin_temp_dir
()
lib/cli/tests/experimental/skills/test_main.py:20
↓ 12 callersMethodinsert
(self, index: int, tool: T)
lib/crewai-tools/src/crewai_tools/adapters/tool_collection.py:48
↓ 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 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
↓ 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 callersMethodpublish
(self, is_public: bool, force: bool = False)
lib/cli/src/crewai_cli/tools/main.py:104
↓ 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 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:201
↓ 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:4544
↓ 12 callersMethodstart
(self)
lib/crewai/tests/utilities/test_events.py:518
↓ 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:134
↓ 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
Process input text synchronously.
lib/crewai/tests/tools/test_base_tool.py:137
↓ 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 callersMethodclear
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1248
↓ 11 callersFunctioncreate_folder_structure
( name: str, parent_folder: str | None = None )
lib/cli/src/crewai_cli/create_crew.py:45
↓ 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 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:232
↓ 11 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
↓ 11 callersMethodreplay
Replay the crew execution from a specific task.
lib/crewai/src/crewai/crew.py:1904
↓ 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:992
↓ 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:656
↓ 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:2156
↓ 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:261
↓ 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:59
↓ 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:897
↓ 10 callersFunction_write
(tmp_path: Path, contents: str)
lib/cli/tests/test_run_declarative_flow.py:249
↓ 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_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:712
↓ 10 callersMethodcall
( self, messages, tools=None, callbacks=None, avai
lib/crewai/tests/agents/test_lite_agent.py:539
↓ 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 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:389
↓ 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:1142
↓ 10 callersMethodincrement_tools_errors
Increment the tools errors counter.
lib/crewai/src/crewai/task.py:1063
↓ 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:1060
↓ 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 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:1638
↓ 10 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:681
↓ 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:2154
↓ 10 callersMethodrun
(self)
lib/cli/tests/test_run_crew.py:533
↓ 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
↓ 9 callersMethod__setattr__
Allow arbitrary attribute assignment for backward compat with plain class.
lib/crewai/src/crewai/flow/runtime/__init__.py:742
↓ 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:715
↓ 9 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:3385
↓ 9 callersMethod_extract_anthropic_token_usage
Extract token usage and response metadata from Anthropic response.
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:1883
↓ 9 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:764
↓ 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_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 callersFunction_resolve_checkpoint
( location: str, checkpoint_id: str | None )
lib/cli/src/crewai_cli/checkpoint_cli.py:431
↓ 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_safe_telemetry_procedure
Run a void telemetry procedure, swallowing failures.
lib/crewai-core/src/crewai_core/telemetry.py:175
↓ 9 callersMethod_scope_path
(self, scope: str | None)
lib/crewai/src/crewai/memory/memory_scope.py:91
↓ 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:1640
↓ 9 callersMethodaemit
Asynchronously emit an event to registered async handlers. Only processes async handlers. Use in async contexts. Args: s
lib/crewai/src/crewai/events/event_bus.py:771
↓ 9 callersMethodclose
Clean up Stagehand resources.
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:681
↓ 9 callersMethodclose
Kill the cached persistent sandbox if one exists.
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_base_tool.py:183
↓ 9 callersFunctionconfigured_project_declarative_flow
Return the configured declarative flow source for flow projects.
lib/cli/src/crewai_cli/run_declarative_flow.py:276
↓ 9 callersMethodcreate_collection
Create a new collection in Qdrant. Keyword Args: collection_name: Name of the collection to create. Must be unique. v
lib/crewai/src/crewai/rag/qdrant/client.py:68
← previousnext →201–300 of 12,753, ranked by callers