MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

Functionacleanup_expired_files
Async clean up expired files from the cache. Args: cache: The upload cache to clean up. delete_from_provider: If True, attempt to
lib/crewai-files/src/crewai_files/cache/cleanup.py:283
Functionacleanup_uploaded_files
Async clean up uploaded files from the cache and optionally from providers. Args: cache: The upload cache to clean up. delete_fro
lib/crewai-files/src/crewai_files/cache/cleanup.py:224
Methodacreate_collection
Create a new collection/index in the vector database asynchronously. Keyword Args: collection_name: The name of the collection to
lib/crewai/src/crewai/rag/core/base_client.py:129
Methodacreate_collection
Create a new collection in ChromaDB asynchronously. Creates a new collection with the specified name and optional configuration. If a
lib/crewai/src/crewai/rag/chromadb/client.py:150
Methodact
(self, options)
lib/crewai-tools/tests/tools/stagehand_tool_test.py:61
Methodaction_consent_no
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:318
Methodaction_consent_yes
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:315
Methodaction_fork
(self)
lib/cli/src/crewai_cli/checkpoint_tui.py:719
Methodaction_log_down
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1271
Methodaction_log_toggle
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1301
Methodaction_log_up
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1286
Methodaction_refresh
(self)
lib/cli/src/crewai_cli/checkpoint_tui.py:722
Methodaction_resume
(self)
lib/cli/src/crewai_cli/checkpoint_tui.py:716
Methodaction_toggle_logs
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1267
Methodaction_toggle_sidebar
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1263
Functionaction_tool
Mock action platform tool.
lib/crewai/tests/agents/test_agent.py:2667
Methodactive_sandbox_id
The id of the sandbox this tool is currently bound to, if any. Returns: - the explicitly attached `sandbox_id`, if set at construct
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:201
Methodadapt
Adapt a MCP tool to a CrewAI tool. Args: func: The function to call when the tool is invoked. mcp_tool: T
lib/crewai-tools/src/crewai_tools/adapters/mcp_adapter.py:38
Methodadd
( self, *args: ContentItem, **kwargs: Unpack[AddDocumentParams], )
lib/crewai-tools/src/crewai_tools/tools/rag/rag_tool.py:137
Methodadd
Add content to the knowledge base. Args: *args: Content items to add (strings, paths, or document dicts) data_type:
lib/crewai-tools/src/crewai_tools/tools/rag/rag_tool.py:251
Methodadd
( self, *args: Any, **kwargs: Any, )
lib/crewai-tools/src/crewai_tools/adapters/lancedb_adapter.py:59
Methodadd
( self, *args: Any, **kwargs: Any, )
lib/crewai-tools/src/crewai_tools/adapters/rag_adapter.py:32
Methodadd
Add content to the knowledge base. Args: *args: Content items to add (strings, paths, or document dicts) **kwargs: Ad
lib/crewai-tools/src/crewai_tools/adapters/crewai_rag_adapter.py:115
Methodadd
Add Excel file content to the knowledge source, chunk it, compute embeddings, and save the embeddings.
lib/crewai/src/crewai/knowledge/source/excel_knowledge_source.py:145
Methodadd
Add string content to the knowledge source, chunk it, compute embeddings, and save them.
lib/crewai/src/crewai/knowledge/source/string_knowledge_source.py:24
Methodadd
Add CSV file content to the knowledge source, chunk it, compute embeddings, and save the embeddings.
lib/crewai/src/crewai/knowledge/source/csv_knowledge_source.py:25
Methodadd
Add text file content to the knowledge source, chunk it, compute embeddings, and save the embeddings.
lib/crewai/src/crewai/knowledge/source/text_file_knowledge_source.py:21
Methodadd
Add PDF file content to the knowledge source, chunk it, compute embeddings, and save the embeddings.
lib/crewai/src/crewai/knowledge/source/pdf_knowledge_source.py:41
Methodadd
Process content, chunk it, compute embeddings, and save them.
lib/crewai/src/crewai/knowledge/source/base_knowledge_source.py:36
Methodadd
Add JSON file content to the knowledge source, chunk it, compute embeddings, and save the embeddings.
lib/crewai/src/crewai/knowledge/source/json_knowledge_source.py:37
Functionadd_const_to_oneof_variants
Add const fields to oneOf variants for discriminated unions. The json_schema_to_pydantic library requires each oneOf variant to have a const
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:327
Methodadd_documents
Add documents with their embeddings to a collection. This method performs an upsert operation - if a document with the same ID alread
lib/crewai/src/crewai/rag/core/base_client.py:181
Methodadd_documents
Add documents with their embeddings to a collection. Performs an upsert operation - documents with existing IDs are updated. Generate
lib/crewai/src/crewai/rag/chromadb/client.py:310
Functionadd_key_in_dict_recursively
Recursively adds a key/value pair to all nested dicts matching `criteria`. Args: d: The dictionary to modify. key: The key to add
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:145
Methodadd_message_hook
(context)
lib/crewai/tests/hooks/test_llm_hooks.py:123
Functionadd_numbers
Add two numbers together and return the sum.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1226
Functionadd_numbers
Add two numbers together and return the sum.
lib/crewai/tests/llms/azure/test_azure.py:1343
Functionadd_numbers
Add two numbers together and return the sum.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1132
Functionadd_numbers
Add two numbers together and return the sum.
lib/crewai/tests/llms/google/test_google.py:1189
Functionadd_numbers
Add two numbers together and return the sum.
lib/crewai/tests/llms/openai/test_openai.py:1917
Methodadd_texts
Add texts, create embeddings, and add to the Collection and index. Important notes on ids: - If _id or id is a key in the metadat
lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py:168
Methodadelete
Async delete an uploaded file from Gemini. Args: file_id: The file name/ID to delete. Returns: True if delet
lib/crewai-files/src/crewai_files/uploaders/gemini.py:308
Methodadelete
Async delete an uploaded file from OpenAI. Args: file_id: The file ID to delete. Returns: True if deletion w
lib/crewai-files/src/crewai_files/uploaders/openai.py:679
Methodadelete
Async delete an uploaded file from Anthropic. Args: file_id: The file ID to delete. Returns: True if deletio
lib/crewai-files/src/crewai_files/uploaders/anthropic.py:226
Methodadelete
(self, file_id: str)
lib/crewai-files/tests/test_acleanup_listing_nonblocking.py:18
Methodadelete
( self, scope_prefix: str | None = None, categories: list[str] | None = None,
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:702
Methodadelete
Delete memories asynchronously.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:898
Methodadelete_collection
Delete a collection and all its data asynchronously. Keyword Args: collection_name: The name of the collection to delete.
lib/crewai/src/crewai/rag/core/base_client.py:388
Methodadelete_collection
Delete a collection and all its data asynchronously. Permanently removes a collection and all documents, embeddings, and metadata it contains
lib/crewai/src/crewai/rag/chromadb/client.py:575
Methodaexecute_task
Execute a task asynchronously.
lib/crewai/src/crewai/agents/agent_builder/base_agent.py:688
Methodaexecute_task
( self, task: Any, context: str | None = None, tools: list[Any] | None = None,
lib/crewai/tests/agents/agent_adapters/test_base_agent_adapter.py:57
Functionaexecute_task_with_a2a
Execute task with A2A delegation support (async).
lib/crewai/src/crewai/a2a/wrapper.py:143
Functionaexecute_tool_and_check_finality
Execute a tool asynchronously and check if the result should be a final answer. This is the async version of execute_tool_and_check_finality. It
lib/crewai/src/crewai/utilities/tool_utils.py:35
Methodaextract_memories
Async variant of extract_memories.
lib/crewai/src/crewai/memory/unified_memory.py:1050
Methodafrom_checkpoint
Read a snapshot asynchronously. Args: location: The identifier returned by a previous ``acheckpoint`` call. Returns:
lib/crewai/src/crewai/state/provider/core.py:102
Methodafrom_checkpoint
Read a checkpoint from the SQLite database asynchronously. Args: location: A location string returned by ``acheckpoint()``.
lib/crewai/src/crewai/state/provider/sqlite_provider.py:147
Methodafter
(ctx)
lib/crewai/tests/hooks/test_dispatch.py:103
Methodafter_both
(self, result)
lib/crewai/tests/events/test_event_ordering.py:1152
Methodafter_callback
(result: CrewOutput)
lib/crewai/tests/crew/test_async_crew.py:196
Methodafter_each
(self)
lib/crewai/tests/test_flow_from_definition.py:182
Methodafter_either
(self, result)
lib/crewai/tests/events/test_event_ordering.py:862
Methodafter_feedback
(self, _feedback)
lib/crewai/tests/utilities/test_events.py:793
Methodafter_feedback
(self, _feedback)
lib/crewai/tests/utilities/test_events.py:844
Functionafter_handler
(source: object, event: BaseEvent)
lib/crewai/tests/utilities/events/test_async_event_bus.py:222
Functionafter_hook
(context: ToolCallHookContext)
lib/crewai/tests/tools/test_tool_usage.py:211
Methodafter_hook
(context: ToolCallHookContext)
lib/crewai/tests/utilities/test_agent_utils.py:1021
Methodafter_hook
Log and verify after hook execution.
lib/crewai/tests/hooks/test_llm_hooks.py:557
Methodafter_hook
(context: ToolCallHookContext)
lib/crewai/tests/hooks/test_tool_hooks.py:672
Methodafter_hook
(context: ToolCallHookContext)
lib/crewai/tests/agents/test_native_tool_calling.py:340
Methodafter_hook
(context: ToolCallHookContext)
lib/crewai/tests/agents/test_native_tool_calling.py:1268
Functionafter_kickoff
Marks a method to execute after crew kickoff. Args: meth: The method to mark. Returns: A wrapped method marked for after kic
lib/crewai/src/crewai/project/annotations.py:54
Functionafter_llm_call
( func: Callable[[LLMCallHookContext], str | None], )
lib/crewai/src/crewai/hooks/decorators.py:138
Methodafter_llm_call_hook
Log and verify after hook execution.
lib/crewai/tests/hooks/test_llm_hooks.py:467
Methodafter_llm_call_hooks
Get the after_llm_call hooks for this agent.
lib/crewai/src/crewai/lite_agent.py:485
Functionafter_llm_call_reducer
Legacy calling convention for ``post_model_call`` hooks. A non-empty string return replaces the response on the context.
lib/crewai/src/crewai/hooks/llm_hooks.py:218
Methodafter_none
(self, result)
lib/crewai/tests/events/test_event_ordering.py:1344
Methodafter_parallel_execution
Check for more todos after parallel execution completes. Also checks if replanning is needed based on execution results.
lib/crewai/src/crewai/agents/agent_executor.py:1586
Functionafter_tool_call
( func: Callable[[ToolCallHookContext], str | None], )
lib/crewai/src/crewai/hooks/decorators.py:253
Methodafter_tool_call_hook
Log and verify after hook execution.
lib/crewai/tests/hooks/test_tool_hooks.py:532
Functionafter_tool_call_reducer
Legacy calling convention for ``post_tool_call`` hooks. A non-None return replaces the tool result on the context.
lib/crewai/src/crewai/hooks/tool_hooks.py:153
Functionagent
Marks a method as a crew agent. Args: meth: The method to mark. Returns: A wrapped method marked as an agent with memoizatio
lib/crewai/src/crewai/project/annotations.py:78
Functionagent
()
lib/crewai/tests/test_task_converter_output.py:30
Functionagent
()
lib/crewai/tests/mcp/test_tool_resolver_native.py:13
Functionagent
()
lib/crewai/tests/mcp/test_amp_mcp.py:13
Methodagent
(self)
lib/crewai/tests/mcp/test_amp_mcp.py:473
Functionagent_callback
(_)
lib/crewai/tests/test_crew.py:1602
Functionagent_card
Fetch the real agent card from the server.
lib/crewai/tests/a2a/test_a2a_integration.py:38
Functionagent_project
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
lib/cli/tests/test_create_agent.py:19
Functionagents_md_eval
Fail when this branch's AGENTS.md teaches coding agents less than BASE's.
lib/devtools/src/crewai_devtools/agents_md_eval.py:350
Methodaget_or_create_collection
Get an existing collection or create it if it doesn't exist asynchronously. Keyword Args: collection_name: The name of the collec
lib/crewai/src/crewai/rag/core/base_client.py:163
Methodaget_or_create_collection
Get an existing collection or create it if it doesn't exist asynchronously. Returns existing collection if found, otherwise creates a new one
lib/crewai/src/crewai/rag/chromadb/client.py:257
Methodakickoff
Async version of kickoff. Alias for kickoff_async. Args: messages: Either a string query or a list of message dictionaries.
lib/crewai/src/crewai/lite_agent.py:827
Methodakickoff
Native async method to start the flow execution. Alias for kickoff_async. Args: inputs: Optional dictionary containing input valu
lib/crewai/src/crewai/flow/runtime/__init__.py:2793
Methodakickoff
Async version of kickoff. Alias for kickoff_async. Args: messages: Either a string query or a list of message dictionaries.
lib/crewai/src/crewai/agent/core.py:2541
Methodallow_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:177
Functionallow_tmp_paths
Allow absolute paths outside CWD (e.g. /tmp/) for these search-tool tests. Path validation is tested separately in test_rag_tool_path_validation.
lib/crewai-tools/tests/tools/test_search_tools.py:27
Functionallow_tmp_paths
Allow absolute paths outside CWD (e.g. /tmp/) for these data-type tests. Path validation is tested separately in test_rag_tool_path_validation.py
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:14
Functionallow_tmp_paths
Allow absolute paths outside CWD (e.g. /tmp/) for these RagTool tests. Path validation is tested separately in test_rag_tool_path_validation.py.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:13
Methodalpha_crew
(self)
lib/crewai/tests/events/test_event_ordering.py:492
Methodalternate_entry_point
(self)
lib/crewai/tests/test_flow_definition.py:664
← previousnext →6,801–6,900 of 19,663, ranked by callers