Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
Function
test_tool_action_keeps_plain_dollar_signs_literal
()
lib/crewai/tests/test_flow_from_definition.py:921
Function
test_tool_action_platform_ref_requires_action
()
lib/crewai/tests/test_flow_from_definition.py:3392
Function
test_tool_action_platform_ref_with_no_tools_names_ref
()
lib/crewai/tests/test_flow_from_definition.py:3402
Function
test_tool_action_preserves_type_for_object_literal_expression
()
lib/crewai/tests/test_flow_from_definition.py:979
Function
test_tool_action_preserves_whole_expression_value_types
()
lib/crewai/tests/test_flow_from_definition.py:1052
Function
test_tool_action_raises_when_tool_reports_failure
()
lib/crewai/tests/test_flow_from_definition.py:3430
Function
test_tool_action_rejects_invalid_interpolated_inputs
( search_query: str, error: str, )
lib/crewai/tests/test_flow_from_definition.py:953
Function
test_tool_action_renders_cel_inputs_at_runtime
()
lib/crewai/tests/test_flow_from_definition.py:717
Function
test_tool_action_renders_interpolated_inputs
()
lib/crewai/tests/test_flow_from_definition.py:1106
Function
test_tool_action_renders_latest_output_by_method_name
()
lib/crewai/tests/test_flow_from_definition.py:1003
Function
test_tool_action_reports_invalid_cel_expression
()
lib/crewai/tests/test_flow_from_definition.py:2287
Function
test_tool_action_requires_module_qualname_ref
()
lib/crewai/tests/test_flow_from_definition.py:3324
Function
test_tool_action_round_trips_with_inputs
()
lib/crewai/tests/test_flow_from_definition.py:691
Function
test_tool_action_runs_platform_action
(selector: str)
lib/crewai/tests/test_flow_from_definition.py:3376
Function
test_tool_action_usage_budget_resets_between_kickoffs
()
lib/crewai/tests/test_flow_tool_action_usage.py:53
Function
test_tool_action_usage_budget_still_enforced_within_a_kickoff
()
lib/crewai/tests/test_flow_tool_action_usage.py:63
Function
test_tool_action_uses_state_and_outputs_in_full_yaml_example
()
lib/crewai/tests/test_flow_from_definition.py:1027
Function
test_tool_adapted_fails_without_required_methods
Test that BaseToolAdapter fails without required methods.
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:91
Function
test_tool_add_appends_tools_and_sets_up_platform_apps
( fmt: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, platform_setup: list[list[str]],
lib/cli/tests/test_agent_tools.py:49
Function
test_tool_add_explains_python_agents_are_edited_in_code
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:171
Function
test_tool_add_leaves_definition_untouched_when_platform_setup_is_cancelled
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:96
Function
test_tool_add_needs_tool_names_outside_a_terminal
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:147
Function
test_tool_add_opens_the_picker_without_tool_names
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, platform_setup: list[list[str]] )
lib/cli/tests/test_agent_tools.py:158
Function
test_tool_add_rejects_unknown_platform_references
( reference: str, message: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:119
Function
test_tool_add_reports_unparseable_definitions
( fmt: str, content: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:135
Function
test_tool_add_requires_an_agent_project
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_agent_tools.py:182
Function
test_tool_add_skips_tools_already_in_the_definition
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, platform_setup: list[list[str]] )
lib/cli/tests/test_agent_tools.py:80
Method
test_tool_call_event_accumulates_arguments
Test that tool call events accumulate arguments progressively.
lib/crewai/tests/llms/test_tool_call_streaming.py:113
Method
test_tool_call_events_have_consistent_tool_id
Test that all events for the same tool call have the same tool ID.
lib/crewai/tests/llms/test_tool_call_streaming.py:138
Function
test_tool_call_turn_emits_completed_event_with_usage
(mock_emit)
lib/crewai/tests/test_llm_litellm_usage_events.py:129
Function
test_tool_calls_still_returned_to_the_caller
The tool-call branch reads `.choices` too and must be unaffected.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:338
Method
test_tool_conversation_produces_valid_input
(self)
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:196
Function
test_tool_create_is_deprecated_and_still_works
(mock_tool_command_cls, runner)
lib/cli/tests/test_create_unified.py:26
Method
test_tool_creation_with_connection_params
Test tool creation with individual connection parameters.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:97
Method
test_tool_creation_with_connection_url
Test tool creation with connection URL.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:126
Method
test_tool_creation_with_empty_database
Test tool creation fails with empty database.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:154
Method
test_tool_creation_with_nonexistent_table
Test tool creation fails with non-existent table.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:144
Method
test_tool_creation_with_specific_tables
Test tool creation with specific table list.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:133
Function
test_tool_decorator_with_usage_limit
Test usage limit with @tool decorator.
lib/crewai/tests/tools/test_tool_usage_limit.py:46
Function
test_tool_defaults_survive_the_per_call_schema
Configured defaults must reach the client when the call omits them.
lib/crewai-tools/tests/tools/test_tavily_research_tool.py:23
Method
test_tool_defaults_to_inherit
(self)
lib/crewai/tests/tools/test_tool_failure.py:319
Method
test_tool_description
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:681
Function
test_tool_error_does_not_emit_finished_event
()
lib/crewai/tests/tools/test_tool_usage.py:836
Function
test_tool_event_names_task_and_agent
(store)
lib/crewai/tests/test_artifacts.py:274
Function
test_tool_event_step_metadata_is_stored_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1498
Function
test_tool_execution
Test tool execution via _run method.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:202
Function
test_tool_execution_error_type_maps_authentication_failures
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:141
Function
test_tool_execution_error_type_maps_http_and_server_errors
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:157
Function
test_tool_execution_error_type_maps_timeout_and_validation
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:148
Function
test_tool_execution_follow_up_turn_unchanged
Tool result -> follow-up completion, the path after a tool executes.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:348
Function
test_tool_execution_results_are_immutable
( result: ToolExecutionSuccess | ToolExecutionFailure, field: str, value: Any, )
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:587
Function
test_tool_execution_with_text_response
Test tool execution with plain text response.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:316
Function
test_tool_failure_does_not_override_successful_plan_step_completion
()
lib/cli/tests/test_crew_run_tui.py:1451
Function
test_tool_fallback_after_tool_calls_still_forces_the_structured_output_tool
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2394
Function
test_tool_fallback_still_used_for_models_without_native_support
Models outside the supported set keep the forced-tool-call behavior.
lib/crewai/tests/llms/anthropic/test_anthropic.py:2138
Method
test_tool_filter_skips_non_matching_tools
(self)
lib/crewai/tests/hooks/test_dispatch.py:122
Method
test_tool_filter_with_hash_syntax
( self, mock_fetch, mock_client_class, agent, mock_tool_definitions )
lib/crewai/tests/mcp/test_amp_mcp.py:247
Method
test_tool_filter_with_hyphenated_hash_syntax
notion#get-page must match the tool whose sanitized name is get_page.
lib/crewai/tests/mcp/test_amp_mcp.py:318
Function
test_tool_info_is_immutable
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:561
Function
test_tool_initialization
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:89
Function
test_tool_initialization
(mocked_chrome)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:31
Function
test_tool_initialization
Test basic tool initialization.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:83
Function
test_tool_initialization_failure
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:123
Function
test_tool_initialization_with_custom_base_url
Test tool initialization with custom base URL.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:102
Function
test_tool_initialization_with_env_vars
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:103
Function
test_tool_initialization_with_options
(mocked_chrome)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:50
Method
test_tool_input_is_mutable_reference
Test that modifying context.tool_input modifies the original dict.
lib/crewai/tests/hooks/test_tool_hooks.py:113
Function
test_tool_invocation
( tool_class: type[BaseTool], tool_config: BaseModel, oxylabs_api: RealtimeClient, )
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:150
Function
test_tool_is_discoverable_without_instantiation
Verify public exports and tool metadata without opening connections.
lib/crewai-tools/tests/tools/test_azure_documentdb_vector_search_tool.py:57
Method
test_tool_metadata
Test tool has correct name and description.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:25
Method
test_tool_name
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:677
Method
test_tool_name_uses_its_sanitized_identity
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:371
Method
test_tool_overrides_everything
(self)
lib/crewai/tests/tools/test_tool_failure.py:290
Function
test_tool_parameters_are_passed_in_request
Test that tool parameters are correctly included in the MCP request.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:393
Method
test_tool_policy_aborts_a_warn_agent_end_to_end
(self)
lib/crewai/tests/tools/test_tool_failure.py:460
Method
test_tool_policy_can_exempt_a_raising_agent
(self)
lib/crewai/tests/tools/test_tool_failure.py:476
Function
test_tool_refuses_files_in_the_shared_temp_dir
(store)
lib/crewai/tests/test_artifacts.py:917
Function
test_tool_refuses_files_outside_workdir
(store)
lib/crewai/tests/test_artifacts.py:129
Function
test_tool_refuses_text_for_file_kinds
(store, kind)
lib/crewai/tests/test_artifacts.py:625
Method
test_tool_reported_failures_do_print
(self)
lib/crewai/tests/tools/test_tool_failure.py:520
Function
test_tool_result_as_answer_is_the_final_answer_for_the_agent
Use a native tool result as the Crew's final answer without another LLM call.
lib/crewai/tests/agents/test_agent.py:703
Method
test_tool_result_becomes_function_call_output
(self)
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:118
Function
test_tool_result_equality_ignores_the_raw_result
()
lib/crewai/tests/tools/test_tool_failure.py:1863
Function
test_tool_result_keeps_an_explicit_none_raw_result
()
lib/crewai/tests/tools/test_tool_failure.py:1873
Method
test_tool_result_turn_goes_straight_to_responses
The turn after a tool runs pays no rejected chat call and keeps the result.
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:517
Function
test_tool_run_method_passes_parameters
Test that parameters are passed when using the .run() method (how CrewAI calls it).
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:433
Function
test_tool_saves_a_rewritten_file_again_when_tool_caching_is_on
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:86
Function
test_tool_saves_file_and_returns_link
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:69
Function
test_tool_saves_html_as_a_pdf
(store, weasyprint)
lib/crewai/tests/test_artifacts.py:1094
Method
test_tool_schema_validation
Test that the tool schema validation works correctly.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:308
Function
test_tool_search_disabled_by_default
tool_search=None (default) should NOT inject anything.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1376
Function
test_tool_search_discovers_and_calls_tool
Tool search should discover the right tool and return a tool_use block.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1898
Function
test_tool_search_no_duplicate_when_manually_provided
If user passes a tool search tool manually, don't inject a duplicate.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1412
Function
test_tool_search_passthrough_preserves_tool_search_type
_convert_tools_for_interference should pass through tool search tools unchanged.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1449
Function
test_tool_search_regex_config
tool_search with regex config should use regex variant.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1330
Function
test_tool_search_saves_input_tokens
Tool search with deferred loading should use fewer input tokens than loading all tools.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1915
Function
test_tool_search_single_tool_skips_search_and_uses_auto_choice
With only 1 tool, tool_search is skipped (nothing to search) and tool_choice stays auto.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1478
Function
test_tool_search_true_injects_bm25_and_defer_loading
tool_search=True should inject bm25 tool search and defer all tools.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1281
Function
test_tool_search_via_llm_class
Verify tool_search param passes through LLM class correctly.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1553
Function
test_tool_selection_error_event_direct
Test tool selection error event emission directly from ToolUsage class.
lib/crewai/tests/tools/test_tool_usage.py:562
← previous
next →
18,801–18,900 of 19,735, ranked by callers