MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

Functiontest_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
Methodtest_tool_defaults_to_inherit
(self)
lib/crewai/tests/tools/test_tool_failure.py:319
Methodtest_tool_description
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:681
Functiontest_tool_error_does_not_emit_finished_event
()
lib/crewai/tests/tools/test_tool_usage.py:836
Functiontest_tool_event_step_metadata_is_stored_in_activity_log
()
lib/cli/tests/test_crew_run_tui.py:1498
Functiontest_tool_execution
Test tool execution via _run method.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:202
Functiontest_tool_execution_error_type_maps_authentication_failures
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:141
Functiontest_tool_execution_error_type_maps_http_and_server_errors
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:157
Functiontest_tool_execution_error_type_maps_timeout_and_validation
()
lib/crewai/tests/mcp/test_mcp_exceptions.py:148
Functiontest_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
Functiontest_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
Functiontest_tool_execution_with_text_response
Test tool execution with plain text response.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:316
Functiontest_tool_failure_does_not_override_successful_plan_step_completion
()
lib/cli/tests/test_crew_run_tui.py:1451
Functiontest_tool_fallback_after_tool_calls_still_forces_the_structured_output_tool
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2394
Functiontest_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
Methodtest_tool_filter_skips_non_matching_tools
(self)
lib/crewai/tests/hooks/test_dispatch.py:122
Methodtest_tool_filter_with_hash_syntax
( self, mock_fetch, mock_client_class, agent, mock_tool_definitions )
lib/crewai/tests/mcp/test_amp_mcp.py:247
Methodtest_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
Functiontest_tool_info_is_immutable
()
lib/crewai-tools/tests/tools/crewai_platform_tools/test_integrations_client.py:561
Functiontest_tool_initialization
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:89
Functiontest_tool_initialization
(mocked_chrome)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:31
Functiontest_tool_initialization
Test basic tool initialization.
lib/crewai-tools/tests/tools/merge_agent_handler_tool_test.py:83
Functiontest_tool_initialization_failure
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:123
Functiontest_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
Functiontest_tool_initialization_with_env_vars
(tool_class: type[BaseTool])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:103
Functiontest_tool_initialization_with_options
(mocked_chrome)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:50
Methodtest_tool_input_is_mutable_reference
Test that modifying context.tool_input modifies the original dict.
lib/crewai/tests/hooks/test_tool_hooks.py:113
Functiontest_tool_invocation
( tool_class: type[BaseTool], tool_config: BaseModel, oxylabs_api: RealtimeClient, )
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:150
Functiontest_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
Methodtest_tool_metadata
Test tool has correct name and description.
lib/crewai/tests/tools/agent_tools/test_read_file_tool.py:25
Methodtest_tool_name
(self)
lib/crewai-tools/tests/tools/test_db2_search_tool.py:677
Methodtest_tool_name_uses_its_sanitized_identity
(self, mock_get)
lib/crewai-tools/tests/tools/crewai_platform_tools/test_crewai_platform_tools.py:371
Methodtest_tool_overrides_everything
(self)
lib/crewai/tests/tools/test_tool_failure.py:290
Functiontest_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
Methodtest_tool_policy_aborts_a_warn_agent_end_to_end
(self)
lib/crewai/tests/tools/test_tool_failure.py:460
Methodtest_tool_policy_can_exempt_a_raising_agent
(self)
lib/crewai/tests/tools/test_tool_failure.py:476
Methodtest_tool_reported_failures_do_print
(self)
lib/crewai/tests/tools/test_tool_failure.py:520
Functiontest_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
Methodtest_tool_result_becomes_function_call_output
(self)
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:118
Functiontest_tool_result_equality_ignores_the_raw_result
()
lib/crewai/tests/tools/test_tool_failure.py:1863
Functiontest_tool_result_keeps_an_explicit_none_raw_result
()
lib/crewai/tests/tools/test_tool_failure.py:1873
Methodtest_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
Functiontest_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
Methodtest_tool_schema_validation
Test that the tool schema validation works correctly.
lib/crewai-tools/tests/tools/singlestore_search_tool_test.py:308
Functiontest_tool_search_disabled_by_default
tool_search=None (default) should NOT inject anything.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1376
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_tool_search_regex_config
tool_search with regex config should use regex variant.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1330
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_tool_search_via_llm_class
Verify tool_search param passes through LLM class correctly.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1553
Functiontest_tool_selection_error_event_direct
Test tool selection error event emission directly from ToolUsage class.
lib/crewai/tests/tools/test_tool_usage.py:562
Functiontest_tool_setup_validates_platform_apps_from_the_definition
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, platform_setup: list[list[str]] )
lib/cli/tests/test_agent_tools.py:193
Functiontest_tool_setup_without_platform_apps_does_nothing
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, platform_setup: list[list[str]] )
lib/cli/tests/test_agent_tools.py:210
Methodtest_tool_usage_accepts_and_stores_crew
(self)
lib/crewai/tests/tools/test_tool_failure.py:1149
Functiontest_tool_usage_cache_callback_receives_raw_typed_output
()
lib/crewai/tests/tools/test_tool_usage.py:166
Functiontest_tool_usage_events_do_not_advance_plan_steps
()
lib/cli/tests/test_crew_run_tui.py:956
Functiontest_tool_usage_finished_event_with_cached_result
Test that ToolUsageFinishedEvent is emitted with correct result attributes when using cached result.
lib/crewai/tests/tools/test_tool_usage.py:764
Functiontest_tool_usage_finished_event_with_result
Test that ToolUsageFinishedEvent is emitted with correct result attributes.
lib/crewai/tests/tools/test_tool_usage.py:692
Methodtest_tool_usage_increments_after_successful_execution
Test that usage count increments after each successful native tool call.
lib/crewai/tests/agents/test_native_tool_calling.py:1082
Functiontest_tool_usage_limit
Test that tools respect usage limits.
lib/crewai/tests/tools/test_tool_usage_limit.py:8
Functiontest_tool_usage_render
()
lib/crewai/tests/tools/test_tool_usage.py:116
Functiontest_tool_usage_returns_json_agent_text_for_typed_output
()
lib/crewai/tests/tools/test_tool_usage.py:144
Functiontest_tool_usage_with_toolusage_class
Test that ToolUsage class correctly enforces usage limits.
lib/crewai/tests/tools/test_tool_usage_limit.py:109
Functiontest_tool_validate_input_error_event
Test tool validation input error event emission from ToolUsage class.
lib/crewai/tests/tools/test_tool_usage.py:632
Functiontest_tool_wiring
(tool_cls, expected_url, expected_params, expected_headers)
lib/crewai-tools/tests/tools/brave_search_tool_test.py:213
Methodtest_tool_without_args_schema
Test converting a tool that doesn't have an args_schema.
lib/crewai/tests/utilities/test_agent_utils.py:567
Functiontest_tools
()
lib/crewai/tests/utilities/test_i18n.py:17
Methodtest_tools_available_but_none_used
(self, mock_agent, mock_task)
lib/crewai/tests/experimental/evaluation/metrics/test_tools_metrics.py:32
Methodtest_tools_carry_the_slug_they_were_requested_by
( self, mock_fetch, mock_client_class, agent, mock_tool_definitions )
lib/crewai/tests/mcp/test_amp_mcp.py:273
Functiontest_tools_emits_error_events
()
lib/crewai/tests/utilities/test_events.py:528
Functiontest_tools_emits_finished_events
()
lib/crewai/tests/utilities/test_events.py:491
Methodtest_tools_from_a_url_have_no_slug
( self, mock_client_class, agent, mock_tool_definitions )
lib/crewai/tests/mcp/test_amp_mcp.py:301
Functiontest_tools_method
(tools_list)
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:61
Functiontest_tools_method_empty
()
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:67
Functiontest_tools_with_custom_caching
()
lib/crewai/tests/test_crew.py:2202
Functiontest_top_level_empty_filter_still_means_no_filter
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1499
Functiontest_topological_path_counting
Test that topological path counting is accurate.
lib/crewai/tests/test_flow_visualization.py:368
Functiontest_touch_records
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:176
Methodtest_trace_batch_id_cleared_on_exception
trace_batch_id must be None when the API call raises an exception.
lib/crewai/tests/tracing/test_tracing.py:886
Methodtest_trace_batch_id_set_on_success
trace_batch_id must be set from the server response on success.
lib/crewai/tests/tracing/test_tracing.py:910
Methodtest_trace_batch_marked_as_failed_on_finalize_error
Test that trace batch is marked as failed when finalization returns non-200 status
lib/crewai/tests/tracing/test_tracing.py:630
Methodtest_trace_listener_collects_crew_events
Crew kickoff exports its event hierarchy through the session transport.
lib/crewai/tests/tracing/test_tracing.py:232
Methodtest_trace_listener_disabled_when_env_false
Test that trace listener doesn't make HTTP calls when tracing is disabled
lib/crewai/tests/tracing/test_tracing.py:347
Methodtest_trace_listener_ephemeral_batch
Unauthenticated kickoff uploads buffered spans only after consent.
lib/crewai/tests/tracing/test_tracing.py:441
Methodtest_trace_listener_setup_correctly_for_crew
Test that trace listener is set up correctly when enabled
lib/crewai/tests/tracing/test_tracing.py:388
Methodtest_trace_listener_setup_correctly_for_flow
Test that trace listener is set up correctly when enabled
lib/crewai/tests/tracing/test_tracing.py:418
Methodtest_trace_listener_with_authenticated_user
Authenticated kickoff uses a grant without requesting upload consent.
lib/crewai/tests/tracing/test_tracing.py:458
Functiontest_traces_status_shows_disabled_when_env_false_overrides_consent
( runner, tmp_path, monkeypatch )
lib/cli/tests/test_cli.py:991
Functiontest_tracing_already_on_follows_the_run_gate
( tmp_path, monkeypatch, env_value, consented, already_on )
lib/cli/tests/experimental/test_eval_crew.py:4524
Functiontest_tracing_already_on_lets_the_project_env_beat_a_shell_false
The run loads `.env` over the shell, so `.env` true with a shell false is traced: nobody is asked to turn on what is already on.
lib/cli/tests/experimental/test_eval_crew.py:4543
Functiontest_tracing_asked_for_is_the_answer_and_the_run_is_not_asked_again
Turning tracing on IS consent. The prompt at the end of a run is for the first-time collection nobody asked for — not for a user who said collect
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:119
Functiontest_tracing_asked_for_needs_no_modal
The user turned tracing on for this project; the modal would be the same question a second time.
lib/cli/tests/test_trace_consent_session.py:85
Functiontest_tracing_asked_for_reads_the_declaration_but_keeps_the_other_guards
The ContextVar is set where the crew is CONSTRUCTED, not on the worker thread that later asks — but an app with nobody in front of it is still
lib/cli/tests/test_crew_run_tui.py:615
Functiontest_tracing_controls_gate_execution_export
( monkeypatch, environment, override, enabled )
lib/crewai/tests/tracing/test_trace_enable_disable.py:40
Functiontest_tracing_is_never_turned_on_toward_an_amp_the_command_does_not_trust
A project's crewai older than the handshake sends the saved login to the AMP its `.env` names whenever the run traces: toward an untrusted AMP the
lib/cli/tests/experimental/test_eval_crew.py:3823
Functiontest_tracing_is_turned_on_and_said_once_only_when_nobody_had
With nobody at the terminal (a coding agent), the first evaluation infers the yes, turns tracing on for the project and says so; from then on
lib/cli/tests/experimental/test_eval_crew.py:3482
Functiontest_tracing_preserves_flow_usage_metrics
(fail)
lib/crewai/tests/telemetry/test_event_trace_session.py:189
← previousnext →18,601–18,700 of 19,482, ranked by callers