Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,484 in github.com/crewAIInc/crewAI
⨍
Functions
19,484
◇
Types & classes
3,433
↳
Endpoints
991
Method
mock_kickoff_fn
(self: Any, inputs: Any = None, **kwargs: Any)
lib/crewai/tests/test_streaming.py:673
Method
mock_kickoff_side_effect
()
lib/crewai/tests/agents/test_agent_executor.py:1273
Function
mock_knowledge_source
Create a mock knowledge source with test content. Returns: StringKnowledgeSource: A knowledge source containing AI-relate
lib/crewai/tests/utilities/test_knowledge_planning.py:16
Function
mock_openai_completion
Mock OpenAICompletion to avoid real client creation. Patches at the source module so that the dynamic import inside _init_responses_delegate
lib/crewai/tests/llms/azure/test_azure_responses.py:40
Function
mock_original_fn
(self, task, context, tools)
lib/crewai/tests/agents/test_a2a_trust_completion_status.py:109
Method
mock_output
(self)
lib/crewai/tests/experimental/evaluation/metrics/test_reasoning_metrics.py:19
Method
mock_plus_api_calls
Mock all PlusAPI HTTP calls to avoid network requests
lib/crewai/tests/tracing/test_tracing.py:198
Function
mock_qdrant_client
Create a mock Qdrant client.
lib/crewai/tests/rag/qdrant/test_client.py:16
Function
mock_rag_client
()
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:11
Function
mock_rag_client
Create a mock RAG client for testing.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:23
Function
mock_rag_client
()
lib/crewai-tools/tests/tools/rag/test_rag_tool_path_validation.py:13
Method
mock_results
(self)
lib/crewai/tests/experimental/evaluation/test_experiment_result.py:9
Function
mock_search_iter
()
lib/crewai-tools/tests/tools/couchbase_tool_test.py:160
Method
mock_send_message
(*args, **kwargs)
lib/crewai/tests/a2a/test_a2a_integration.py:200
Function
mock_serper_api_key
()
lib/crewai-tools/tests/tools/serper_dev_tool_test.py:9
Function
mock_settings
()
lib/cli/tests/organization/test_main.py:26
Function
mock_snowflake_connection
()
lib/crewai-tools/tests/tools/snowflake_search_tool_test.py:10
Function
mock_stagehand_instance
()
lib/crewai-tools/tests/tools/stagehand_tool_test.py:101
Function
mock_stagehand_modules
Mock stagehand modules at the start of this test module.
lib/crewai-tools/tests/tools/stagehand_tool_test.py:29
Function
mock_task
Create a mock Task.
lib/crewai/tests/a2a/utils/test_task.py:29
Function
mock_task
Create a mock task.
lib/crewai/tests/hooks/test_human_approval.py:43
Function
mock_task
Create a mock task for testing.
lib/crewai/tests/hooks/test_tool_hooks.py:38
Method
mock_task
Create a minimal valid task for testing.
lib/crewai/tests/a2a/test_a2a_integration.py:165
Method
mock_task
(self)
lib/crewai/tests/experimental/evaluation/metrics/test_base_evaluation_metrics.py:19
Function
mock_tool
Create a mock tool for tool hook context.
lib/crewai/tests/hooks/test_human_approval.py:26
Function
mock_tool
Create a mock tool for testing.
lib/crewai/tests/hooks/test_tool_hooks.py:21
Function
mock_tool_1
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:16
Function
mock_tool_2
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:23
Function
mock_tool_definitions
Create mock MCP tool definitions (as returned by list_tools).
lib/crewai/tests/mcp/test_mcp_config.py:13
Function
mock_tool_definitions
()
lib/crewai/tests/mcp/test_amp_mcp.py:27
Function
mock_tool_execute_response
Mock response for tools/call MCP request.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:67
Function
mock_tool_extractor
(extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:98
Function
mock_tool_pack_response
Mock response for tools/list MCP request.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:19
Method
mock_user_data_file_io
Mock user data file I/O to prevent file system pollution between tests
lib/crewai/tests/tracing/test_tracing.py:111
Function
mock_vector_db
Mock vector database operations.
lib/crewai/tests/knowledge/test_knowledge.py:17
Function
mock_weather_tool
(location: str)
lib/crewai/tests/llms/bedrock/test_bedrock.py:890
Function
mock_weather_tool
(location: str)
lib/crewai/tests/llms/azure/test_azure.py:64
Method
model_post_init
(self, *args: Any, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/tools/snowflake_search_tool/snowflake_search_tool.py:61
Method
model_post_init
(self, __context: Any)
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:281
Method
model_post_init
Initialize session ID if not provided.
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:55
Method
model_post_init
(self, __context: Any)
lib/crewai-tools/src/crewai_tools/adapters/lancedb_adapter.py:41
Method
model_post_init
Initialize the CrewAI RAG client after model initialization.
lib/crewai-tools/src/crewai_tools/adapters/crewai_rag_adapter.py:59
Method
model_post_init
(self, __context: Any)
lib/crewai-tools/src/crewai_tools/rag/core.py:44
Method
model_post_init
(self, __context: Any)
lib/crewai/src/crewai/tools/base_tool.py:301
Method
model_post_init
(self, __context: Any)
lib/crewai/src/crewai/flow/runtime/__init__.py:840
Method
model_post_init
Initialize runtime state from field values.
lib/crewai/src/crewai/memory/unified_memory.py:211
Method
model_post_init
(self, _: Any)
lib/crewai/src/crewai/knowledge/source/excel_knowledge_source.py:91
Method
model_post_init
Post-initialization method to validate content.
lib/crewai/src/crewai/knowledge/source/string_knowledge_source.py:15
Method
model_post_init
Post-initialization method to load content.
lib/crewai/src/crewai/knowledge/source/base_file_knowledge_source.py:44
Method
model_post_init
(self, _: Any)
lib/crewai/tests/test_flow_ask.py:66
Method
modern
(ctx)
lib/crewai/tests/hooks/test_dispatch.py:178
Method
modify_input_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:192
Method
modify_inputs
(self, inputs)
lib/crewai/tests/test_project.py:78
Method
modify_inputs
(self, inputs)
lib/crewai/tests/test_crew.py:4804
Method
modify_outputs
(self, outputs)
lib/crewai/tests/test_project.py:84
Method
modify_response_hook
(context)
lib/crewai/tests/hooks/test_llm_hooks.py:182
Method
modify_result_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:255
Function
module_level_function
Plain module-level function that should round-trip.
lib/crewai/tests/test_callback.py:22
Function
mongodb_vector_search_tool
()
lib/crewai-tools/tests/tools/test_mongodb_vector_search_tool.py:9
Function
multiplcation_tool
Useful for when you need to multiply two numbers together.
lib/crewai/tests/test_crew.py:2205
Function
multiplier
Useful for when you need to multiply two numbers together.
lib/crewai/tests/test_crew.py:844
Function
multiplier
Useful for when you need to multiply two numbers together.
lib/crewai/tests/agents/test_agent.py:224
Method
multiply
Multiply two integers.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:881
Method
multiply_numbers
Multiply two numbers together.
lib/crewai/tests/hooks/test_tool_hooks.py:660
Method
mutate
(ctx)
lib/crewai/tests/hooks/test_dispatch.py:70
Function
my_condition
(context)
lib/crewai/tests/test_crew.py:4174
Method
my_embed
(text: str)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:283
Method
my_func
(value: int)
lib/crewai/tests/a2a/utils/test_task.py:77
Method
my_handler
(source: object, event: SignalEvent)
lib/crewai/tests/events/types/test_system_events.py:161
Method
my_hook
(self, context)
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:48
Method
my_hook
(self, context)
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:374
Method
my_hook
(self, context)
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:457
Method
my_method
(self)
lib/crewai/tests/test_flow_ask.py:137
Method
my_method
(self)
lib/crewai/tests/test_flow_ask.py:260
Method
my_method
(self)
lib/crewai/tests/test_flow_ask.py:327
Method
my_method
(self)
lib/crewai/tests/test_flow_ask.py:413
Method
my_method
(self)
lib/crewai/tests/test_flow_ask.py:506
Method
my_method
(self)
lib/crewai/tests/test_flow_ask.py:625
Method
my_method
(self)
lib/crewai/tests/test_flow_ask.py:801
Method
my_method
(self)
lib/crewai/tests/test_flow_ask.py:943
Method
my_method
(self)
lib/crewai/tests/test_flow_ask.py:982
Method
my_method
(self)
lib/crewai/tests/events/test_event_ordering.py:308
Method
my_named_handler
My docstring.
lib/crewai/tests/events/types/test_system_events.py:171
Method
my_router
(self)
lib/crewai/tests/test_flow_visualization.py:703
Method
my_secret_method_name
(self)
lib/crewai/tests/telemetry/test_flow_telemetry.py:362
Method
my_start
(self)
lib/crewai/tests/events/test_event_ordering.py:696
Method
my_start_method
(self)
lib/crewai/tests/test_human_feedback_decorator.py:227
Method
my_task
(self)
lib/crewai/tests/test_crew.py:4818
Function
my_tool
Clear description for what this tool is useful for, you agent will need this information to use it.
lib/crewai-tools/tests/base_tool_test.py:9
Function
my_tool
My tool
lib/crewai/tests/test_task.py:1756
Function
my_tool
Clear description for what this tool is useful for, your agent will need this information to use it.
lib/crewai/tests/tools/test_base_tool.py:16
Function
my_tool_with_default
This tool uses the default result_as_answer value.
lib/crewai/tests/tools/test_base_tool.py:133
Function
my_tool_with_result_as_answer
This tool will return its result as the final answer.
lib/crewai/tests/tools/test_base_tool.py:123
Method
name
Return the name of the embedding function for ChromaDB compatibility.
lib/crewai/src/crewai/rag/embeddings/providers/ibm/embedding_callable.py:29
Method
name
Return the name of the embedding function for ChromaDB compatibility.
lib/crewai/src/crewai/rag/embeddings/providers/oracle/embedding_callable.py:40
Method
name
Return the name of the embedding function for ChromaDB compatibility.
lib/crewai/src/crewai/rag/embeddings/providers/voyageai/embedding_callable.py:37
Method
name
Return the name of the embedding function for ChromaDB compatibility.
lib/crewai/src/crewai/rag/embeddings/providers/google/genai_vertex_embedding.py:181
Method
name
Return the name of the embedding function for ChromaDB compatibility.
lib/crewai/src/crewai/rag/embeddings/providers/openai/embedding_callable.py:94
Method
name
Skill name from frontmatter.
lib/crewai/src/crewai/skills/models.py:127
Method
nested
(self)
lib/crewai/tests/test_flow.py:344
← previous
next →
8,701–8,800 of 19,484, ranked by callers