MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

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:309
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:1342
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:689
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:566
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/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:256
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:2771
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:2429
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
Methodalways_fail
(params, **kwargs)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:249
Methodalways_fail
(params, **kwargs)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:328
Methodalways_fail
(params, **kwargs)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:594
Functionalways_skip
(_: TaskOutput)
lib/crewai/tests/test_crew.py:1301
Functionamp
()
lib/crewai-core/tests/test_plus_api_proxy.py:96
Functionan_openai_error
()
lib/cli/tests/test_run_usage.py:629
Methodanalyst
(self)
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:140
Methodanalyze_audio
(self)
lib/crewai/tests/test_flow_multimodal.py:247
Methodanalyze_files
(self)
lib/crewai/tests/test_flow_multimodal.py:310
Functionanalyze_for_consolidation
Decide insert/update/delete for a single memory against similar existing records. Uses the small ``ConsolidationPlan`` schema (3 fields) for fast
lib/crewai/src/crewai/memory/analyze.py:333
Methodanalyze_image
(self)
lib/crewai/tests/test_flow_multimodal.py:106
Methodanalyze_image
(self)
lib/crewai/tests/test_flow_multimodal.py:148
Methodanalyze_image
(self)
lib/crewai/tests/test_flow_multimodal.py:190
Methodanalyze_image
(self)
lib/crewai/tests/test_flow_multimodal.py:336
Methodanalyze_pdf
(self)
lib/crewai/tests/test_flow_multimodal.py:167
Methodanalyze_query_step
Analyze the query, embed distilled sub-queries, extract filters. Short queries (below ``query_analysis_threshold`` characters) skip t
lib/crewai/src/crewai/memory/recall_flow.py:185
Methodanalyze_text
(self)
lib/crewai/tests/test_flow_multimodal.py:209
Methodanalyze_video
(self)
lib/crewai/tests/test_flow_multimodal.py:228
Methodanemia_analysis
(self)
lib/crewai/tests/test_flow.py:1152
Methodanemia_router
(self)
lib/crewai/tests/test_flow.py:1145
Methodanimate
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:151
Methodanimate
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:598
Methodanimate
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1006
← previousnext →6,701–6,800 of 19,264, ranked by callers