MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

Methodmock_google_api_key
Mock GOOGLE_API_KEY for tests.
lib/crewai/tests/agents/test_native_tool_calling.py:566
Methodmock_handle
(*args, **kwargs)
lib/crewai/tests/llms/hooks/test_transport.py:145
Methodmock_handle
(*args, **kwargs)
lib/crewai/tests/llms/hooks/test_transport.py:213
Functionmock_kickoff_async
(**kwargs)
lib/crewai/tests/test_crew.py:1528
Methodmock_kickoff_fn
(self: Any, inputs: Any = None, **kwargs: Any)
lib/crewai/tests/test_streaming.py:214
Methodmock_kickoff_fn
(self: Any, inputs: Any = None, **kwargs: Any)
lib/crewai/tests/test_streaming.py:338
Methodmock_kickoff_fn
(self: Any, inputs: Any = None, **kwargs: Any)
lib/crewai/tests/test_streaming.py:451
Methodmock_kickoff_fn
(self: Any, inputs: Any = None, **kwargs: Any)
lib/crewai/tests/test_streaming.py:565
Methodmock_kickoff_fn
(self: Any, inputs: Any = None, **kwargs: Any)
lib/crewai/tests/test_streaming.py:673
Methodmock_kickoff_side_effect
()
lib/crewai/tests/agents/test_agent_executor.py:1273
Functionmock_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
Functionmock_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
Functionmock_original_fn
(self, task, context, tools)
lib/crewai/tests/agents/test_a2a_trust_completion_status.py:109
Methodmock_output
(self)
lib/crewai/tests/experimental/evaluation/metrics/test_reasoning_metrics.py:19
Methodmock_plus_api_calls
Mock all PlusAPI HTTP calls to avoid network requests
lib/crewai/tests/tracing/test_tracing.py:198
Functionmock_qdrant_client
Create a mock Qdrant client.
lib/crewai/tests/rag/qdrant/test_client.py:14
Functionmock_rag_client
()
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:11
Functionmock_rag_client
Create a mock RAG client for testing.
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:23
Functionmock_rag_client
()
lib/crewai-tools/tests/tools/rag/test_rag_tool_path_validation.py:13
Methodmock_results
(self)
lib/crewai/tests/experimental/evaluation/test_experiment_result.py:9
Functionmock_search_iter
()
lib/crewai-tools/tests/tools/couchbase_tool_test.py:160
Methodmock_send_message
(*args, **kwargs)
lib/crewai/tests/a2a/test_a2a_integration.py:200
Functionmock_serper_api_key
()
lib/crewai-tools/tests/tools/serper_dev_tool_test.py:9
Functionmock_settings
()
lib/cli/tests/organization/test_main.py:26
Functionmock_snowflake_connection
()
lib/crewai-tools/tests/tools/snowflake_search_tool_test.py:10
Functionmock_stagehand_instance
()
lib/crewai-tools/tests/tools/stagehand_tool_test.py:101
Functionmock_stagehand_modules
Mock stagehand modules at the start of this test module.
lib/crewai-tools/tests/tools/stagehand_tool_test.py:29
Functionmock_task
Create a mock Task.
lib/crewai/tests/a2a/utils/test_task.py:29
Functionmock_task
Create a mock task.
lib/crewai/tests/hooks/test_human_approval.py:43
Functionmock_task
Create a mock task for testing.
lib/crewai/tests/hooks/test_tool_hooks.py:38
Methodmock_task
Create a minimal valid task for testing.
lib/crewai/tests/a2a/test_a2a_integration.py:165
Methodmock_task
(self)
lib/crewai/tests/experimental/evaluation/metrics/test_base_evaluation_metrics.py:19
Functionmock_tool
Create a mock tool for tool hook context.
lib/crewai/tests/hooks/test_human_approval.py:26
Functionmock_tool
Create a mock tool for testing.
lib/crewai/tests/hooks/test_tool_hooks.py:21
Functionmock_tool_1
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:16
Functionmock_tool_2
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:23
Functionmock_tool_definitions
Create mock MCP tool definitions (as returned by list_tools).
lib/crewai/tests/mcp/test_mcp_config.py:13
Functionmock_tool_definitions
()
lib/crewai/tests/mcp/test_amp_mcp.py:27
Functionmock_tool_execute_response
Mock response for tools/call MCP request.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:67
Functionmock_tool_extractor
(extractor)
lib/crewai-tools/tests/test_generate_tool_specs.py:98
Functionmock_tool_pack_response
Mock response for tools/list MCP request.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:19
Methodmock_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
Functionmock_vector_db
Mock vector database operations.
lib/crewai/tests/knowledge/test_knowledge.py:17
Functionmock_weather_tool
(location: str)
lib/crewai/tests/llms/bedrock/test_bedrock.py:890
Functionmock_weather_tool
(location: str)
lib/crewai/tests/llms/azure/test_azure.py:64
Methodmodel_post_init
(self, *args: Any, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/tools/snowflake_search_tool/snowflake_search_tool.py:61
Methodmodel_post_init
(self, __context: Any)
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:281
Methodmodel_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
Methodmodel_post_init
(self, __context: Any)
lib/crewai-tools/src/crewai_tools/adapters/lancedb_adapter.py:41
Methodmodel_post_init
Initialize the CrewAI RAG client after model initialization.
lib/crewai-tools/src/crewai_tools/adapters/crewai_rag_adapter.py:59
Methodmodel_post_init
(self, __context: Any)
lib/crewai-tools/src/crewai_tools/rag/core.py:45
Methodmodel_post_init
(self, __context: Any)
lib/crewai/src/crewai/tools/base_tool.py:301
Methodmodel_post_init
(self, __context: Any)
lib/crewai/src/crewai/flow/runtime/__init__.py:840
Methodmodel_post_init
Initialize runtime state from field values.
lib/crewai/src/crewai/memory/unified_memory.py:211
Methodmodel_post_init
(self, _: Any)
lib/crewai/src/crewai/knowledge/source/excel_knowledge_source.py:91
Methodmodel_post_init
Post-initialization method to validate content.
lib/crewai/src/crewai/knowledge/source/string_knowledge_source.py:15
Methodmodel_post_init
Post-initialization method to load content.
lib/crewai/src/crewai/knowledge/source/base_file_knowledge_source.py:44
Methodmodel_post_init
(self, _: Any)
lib/crewai/tests/test_flow_ask.py:66
Methodmodern
(ctx)
lib/crewai/tests/hooks/test_dispatch.py:178
Methodmodify_input_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:192
Methodmodify_inputs
(self, inputs)
lib/crewai/tests/test_project.py:78
Methodmodify_inputs
(self, inputs)
lib/crewai/tests/test_crew.py:4780
Methodmodify_outputs
(self, outputs)
lib/crewai/tests/test_project.py:84
Methodmodify_response_hook
(context)
lib/crewai/tests/hooks/test_llm_hooks.py:182
Methodmodify_result_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:255
Functionmodule_level_function
Plain module-level function that should round-trip.
lib/crewai/tests/test_callback.py:22
Functionmongodb_vector_search_tool
()
lib/crewai-tools/tests/tools/test_mongodb_vector_search_tool.py:9
Functionmultiplcation_tool
Useful for when you need to multiply two numbers together.
lib/crewai/tests/test_crew.py:2205
Functionmultiplier
Useful for when you need to multiply two numbers together.
lib/crewai/tests/test_crew.py:844
Functionmultiplier
Useful for when you need to multiply two numbers together.
lib/crewai/tests/agents/test_agent.py:224
Methodmultiply
Multiply two integers.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:881
Methodmultiply_numbers
Multiply two numbers together.
lib/crewai/tests/hooks/test_tool_hooks.py:660
Methodmutate
(ctx)
lib/crewai/tests/hooks/test_dispatch.py:70
Functionmy_condition
(context)
lib/crewai/tests/test_crew.py:4150
Methodmy_embed
(text: str)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:283
Methodmy_func
(value: int)
lib/crewai/tests/a2a/utils/test_task.py:77
Methodmy_handler
(source: object, event: SignalEvent)
lib/crewai/tests/events/types/test_system_events.py:161
Methodmy_hook
(self, context)
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:48
Methodmy_hook
(self, context)
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:374
Methodmy_hook
(self, context)
lib/crewai/tests/hooks/test_crew_scoped_hooks.py:457
Methodmy_method
(self)
lib/crewai/tests/test_flow_ask.py:137
Methodmy_method
(self)
lib/crewai/tests/test_flow_ask.py:260
Methodmy_method
(self)
lib/crewai/tests/test_flow_ask.py:327
Methodmy_method
(self)
lib/crewai/tests/test_flow_ask.py:413
Methodmy_method
(self)
lib/crewai/tests/test_flow_ask.py:506
Methodmy_method
(self)
lib/crewai/tests/test_flow_ask.py:625
Methodmy_method
(self)
lib/crewai/tests/test_flow_ask.py:801
Methodmy_method
(self)
lib/crewai/tests/test_flow_ask.py:943
Methodmy_method
(self)
lib/crewai/tests/test_flow_ask.py:982
Methodmy_method
(self)
lib/crewai/tests/events/test_event_ordering.py:308
Methodmy_named_handler
My docstring.
lib/crewai/tests/events/types/test_system_events.py:171
Methodmy_router
(self)
lib/crewai/tests/test_flow_visualization.py:703
Methodmy_secret_method_name
(self)
lib/crewai/tests/telemetry/test_flow_telemetry.py:362
Methodmy_start
(self)
lib/crewai/tests/events/test_event_ordering.py:696
Methodmy_start_method
(self)
lib/crewai/tests/test_human_feedback_decorator.py:227
Methodmy_task
(self)
lib/crewai/tests/test_crew.py:4794
Functionmy_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
Functionmy_tool
My tool
lib/crewai/tests/test_task.py:1699
Functionmy_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
Functionmy_tool_with_default
This tool uses the default result_as_answer value.
lib/crewai/tests/tools/test_base_tool.py:133
← previousnext →8,601–8,700 of 19,264, ranked by callers