Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/mcp-cli
/ functions
Functions
6,849 in github.com/IBM/mcp-cli
⨍
Functions
6,849
◇
Types & classes
1,312
↳
Endpoints
189
Method
test_execute_tool_dynamic
Test execute_tool with dynamic tool.
tests/tools/test_tool_manager.py:262
Method
test_execute_tool_dynamic_exception
Test execute_tool with dynamic tool that raises exception.
tests/tools/test_tool_manager.py:275
Method
test_execute_tool_exception
Test handling of exceptions during execution.
tests/commands/definitions/test_execute_tool_command.py:227
Method
test_execute_tool_exception_oauth_error_auth_fails
Lines 667-672: OAuth error in exception, re-auth fails.
tests/tools/test_tool_manager_extended.py:590
Method
test_execute_tool_exception_oauth_error_no_server_name
Lines 675-676: OAuth error in exception but server name not found.
tests/tools/test_tool_manager_extended.py:632
Method
test_execute_tool_exception_oauth_error_no_server_url
Lines 673-674: OAuth error in exception but no server URL found.
tests/tools/test_tool_manager_extended.py:614
Method
test_execute_tool_exception_oauth_error_retry_success
Lines 648-666: OAuth error in exception, re-auth succeeds, retry succeeds.
tests/tools/test_tool_manager_extended.py:562
Method
test_execute_tool_exception_oauth_retry_flag
OAuth error in exception with _oauth_retry=True skips re-auth.
tests/tools/test_tool_manager_extended.py:647
Method
test_execute_tool_exception_oauth_with_namespace
OAuth retry uses the provided namespace instead of looking it up.
tests/tools/test_tool_manager_extended.py:661
Method
test_execute_tool_failure
Test handling of tool execution failure.
tests/commands/definitions/test_execute_tool_command.py:208
Method
test_execute_tool_no_result
Test handling when tool returns no result.
tests/commands/definitions/test_execute_tool_command.py:354
Method
test_execute_tool_not_found
Test execute with non-existent tool.
tests/commands/definitions/test_execute_tool_command.py:105
Method
test_execute_tool_not_initialized
Test execute_tool when not initialized.
tests/tools/test_tool_manager.py:288
Method
test_execute_tool_result_contains_oauth_error
Lines 622-638: OAuth error detected in result string, triggers re-auth.
tests/tools/test_tool_manager_extended.py:469
Method
test_execute_tool_result_dict_type
Test handling when tool returns plain dict (not ToolCallResult).
tests/commands/definitions/test_execute_tool_command_extended.py:235
Method
test_execute_tool_result_oauth_error_no_server_name
Lines 626: OAuth error but server name not found.
tests/tools/test_tool_manager_extended.py:525
Method
test_execute_tool_result_oauth_error_no_server_url
Lines 627-628: OAuth error but server URL not found.
tests/tools/test_tool_manager_extended.py:504
Method
test_execute_tool_result_oauth_retry_flag_prevents_loop
OAuth error with _oauth_retry=True does not trigger re-auth.
tests/tools/test_tool_manager_extended.py:539
Method
test_execute_tool_success
Test successful tool execution.
tests/tools/test_tool_manager.py:299
Method
test_execute_tool_success
Test successful tool execution.
tests/commands/definitions/test_execute_tool_command.py:131
Method
test_execute_tool_transport_error
Test execute_tool with transport error. Note: Transport recovery is now handled by CTP middleware (retry, circuit breaker).
tests/tools/test_tool_manager.py:312
Method
test_execute_tool_with_args
Test parsing tool name and params from args.
tests/commands/definitions/test_execute_tool_command.py:195
Method
test_execute_tool_with_failed_inner_result
execute_tool handles inner tool execution failure.
tests/tools/test_dynamic_tools_extended.py:456
Method
test_execute_tool_with_mcp_tool_result
execute_tool properly unwraps MCP ToolResult with .content list.
tests/tools/test_dynamic_tools_extended.py:430
Method
test_execute_tool_with_server
Test tool execution with server specification.
tests/commands/definitions/test_execute_tool_command.py:148
Method
test_execute_tool_with_warning_no_result
Test when tool returns success but no result.
tests/commands/definitions/test_execute_tool_command_extended.py:259
Method
test_execute_tools_parallel
Test execute_tools_parallel method.
tests/tools/test_tool_manager.py:997
Function
test_execute_tools_parallel_callback_exception
Test that callback exceptions don't break execution.
tests/tools/test_execution.py:135
Function
test_execute_tools_parallel_empty_calls
Test with empty call list.
tests/tools/test_execution.py:46
Function
test_execute_tools_parallel_max_concurrency
Test max_concurrency limits parallel execution.
tests/tools/test_execution.py:183
Function
test_execute_tools_parallel_multiple_calls
Test with multiple tool calls.
tests/tools/test_execution.py:68
Function
test_execute_tools_parallel_on_tool_result_callback_exception
Test on_tool_result callback exception doesn't break execution.
tests/tools/test_execution.py:370
Function
test_execute_tools_parallel_respects_namespace
Test namespace is passed correctly.
tests/tools/test_execution.py:217
Function
test_execute_tools_parallel_single_call
Test with single tool call.
tests/tools/test_execution.py:54
Function
test_execute_tools_parallel_with_error
Test handling tool execution errors.
tests/tools/test_execution.py:154
Function
test_execute_tools_parallel_with_on_tool_result
Test on_tool_result callback is invoked.
tests/tools/test_execution.py:116
Function
test_execute_tools_parallel_with_on_tool_start
Test on_tool_start callback is invoked.
tests/tools/test_execution.py:97
Function
test_execute_tools_parallel_with_timeout
Test with custom timeout.
tests/tools/test_execution.py:85
Method
test_execute_unknown_command
Test showing help for an unknown command.
tests/commands/definitions/test_help_command.py:84
Method
test_execute_unknown_subcommand
Test execution with unknown subcommand.
tests/commands/definitions/test_token_command.py:138
Method
test_execute_with_args_as_string
Test executing with args parameter as string instead of list.
tests/commands/definitions/test_tools_coverage.py:43
Method
test_execute_with_args_list
Test with args passed as list.
tests/commands/definitions/test_verbose_command.py:106
Method
test_execute_with_args_list
Test executing with args as list.
tests/commands/definitions/test_ping_command.py:130
Method
test_execute_with_args_string
Test with args passed as string.
tests/commands/definitions/test_verbose_command.py:117
Method
test_execute_with_args_string
Test executing with args as string.
tests/commands/definitions/test_ping_command.py:162
Method
test_execute_with_chat_handler
Test with chat_handler instead of ui_manager.
tests/commands/definitions/test_verbose_command.py:94
Method
test_execute_with_context
Test executing the clear command with context available.
tests/commands/definitions/test_clear_command.py:44
Method
test_execute_with_context_available
Command that requires context gets tool_manager and model_manager injected.
tests/adapters/test_cli_adapter_coverage.py:452
Method
test_execute_with_context_exception
Test getting tool manager from context when it throws exception.
tests/commands/definitions/test_ping_command.py:117
Method
test_execute_with_context_none
Command that requires context but get_context returns None.
tests/adapters/test_cli_adapter_coverage.py:471
Method
test_execute_with_context_success
Test getting tool manager from context successfully.
tests/commands/definitions/test_ping_command.py:197
Method
test_execute_with_double_quoted_params
Test handling params with double quotes.
tests/commands/definitions/test_execute_tool_command_extended.py:188
Method
test_execute_with_error_missing_required_param_extraction
Test error message extraction for missing required parameters.
tests/commands/definitions/test_execute_tool_command_extended.py:340
Method
test_execute_with_exception
Test that exceptions are caught and returned as errors.
tests/commands/definitions/test_help_coverage.py:207
Method
test_execute_with_exception
Test that exceptions are caught and returned as errors.
tests/commands/definitions/test_tools_coverage.py:68
Method
test_execute_with_format
Test execution with different output formats.
tests/commands/definitions/test_servers_command.py:83
Method
test_execute_with_generic_error
Test handling generic tool execution errors.
tests/commands/definitions/test_execute_tool_command_extended.py:377
Method
test_execute_with_known_subcommand
Test that known subcommands are routed to parent.
tests/commands/definitions/test_providers_command.py:164
Method
test_execute_with_kwargs
Test execution with kwargs (should be ignored).
tests/commands/definitions/test_themes_plural_command.py:37
Method
test_execute_with_mode_filter
Test showing help filtered by mode.
tests/commands/definitions/test_help_command.py:101
Method
test_execute_with_model_name_directly
Test executing model command with model name directly.
tests/commands/definitions/test_models_command_extended.py:226
Method
test_execute_with_ping_flag
Test execution with ping flag.
tests/commands/definitions/test_servers_command.py:179
Method
test_execute_with_quoted_params
Test handling params with surrounding quotes.
tests/commands/definitions/test_execute_tool_command.py:277
Method
test_execute_with_server_filter
Test executing with a server filter.
tests/commands/definitions/test_tools_command_simple.py:59
Method
test_execute_with_server_name
Test executing server command with server name.
tests/commands/definitions/test_server_singular.py:35
Method
test_execute_with_server_parameter
Test execution with server parameter (currently TODO).
tests/commands/definitions/test_execute_tool_command_extended.py:285
Method
test_execute_with_servers
Test listing servers when servers exist.
tests/commands/definitions/test_server_singular.py:102
Method
test_execute_with_tool_count_method
Test execute with tool_manager.get_tool_count() method (covers line 80).
tests/commands/definitions/test_clear_command_extended.py:25
Method
test_execute_with_tool_filter
Test executing with a tool name filter (show details).
tests/commands/definitions/test_tools_command_simple.py:92
Method
test_execute_with_tool_manager_no_tools
Test execute with tool_manager that has no way to get tools (covers lines 84-87).
tests/commands/definitions/test_clear_command_extended.py:151
Method
test_execute_with_tools_attribute
Test execute with tool_manager._tools attribute (covers lines 84-87).
tests/commands/definitions/test_clear_command_extended.py:56
Method
test_execute_without_context
Command that does not require context executes without context injection.
tests/adapters/test_cli_adapter_coverage.py:444
Method
test_execution_budget_exhausted
Test handling of execution budget exhaustion.
tests/chat/test_conversation.py:556
Method
test_execution_budget_formats_message
Test that execution budget exhaustion formats proper message.
tests/chat/test_conversation.py:1267
Method
test_execution_budget_stops_streaming
Execution budget exhaustion stops active streaming UI.
tests/chat/test_conversation.py:2575
Method
test_execution_budget_stops_streaming
(self)
tests/chat/test_conversation_extended.py:670
Method
test_execution_callbacks
Callbacks fire for each step during live execution.
tests/planning/test_executor.py:410
Method
test_execution_error_with_cause
Test execution error with original cause.
tests/commands/test_exceptions.py:75
Method
test_execution_error_with_command
Test execution error with command name.
tests/commands/test_exceptions.py:68
Method
test_execution_with_variables
Variable overrides are passed through.
tests/planning/test_executor.py:366
Method
test_existing
(self, store: MemoryScopeStore)
tests/memory/test_store.py:89
Method
test_exit_command
Loop exits on 'exit' command.
tests/chat/test_chat_handler_coverage.py:408
Function
test_exit_help_text
Test the help_text property.
tests/commands/definitions/test_exit_command_extended.py:14
Function
test_exit_modes_property
Test the modes property.
tests/commands/definitions/test_exit_command_extended.py:23
Method
test_exit_on_quit
Loop exits on 'quit' message.
tests/agents/test_loop.py:59
Method
test_exit_on_stop_signal
Loop exits on '__stop__' message.
tests/agents/test_loop.py:43
Method
test_exit_requested_stops_loop
Loop exits when context.exit_requested is True.
tests/agents/test_loop.py:188
Method
test_experimental_capabilities_defaults
Test default values.
tests/tools/test_models.py:388
Method
test_experimental_capabilities_with_values
Test with custom values.
tests/tools/test_models.py:395
Method
test_experimental_events
Test with experimental events capability.
tests/commands/test_utils.py:41
Method
test_experimental_streaming
Test with experimental streaming capability.
tests/commands/test_utils.py:46
Method
test_explicit_discovered_count
Test explicitly setting discovered_count.
tests/model_management/test_discovery_result.py:56
Method
test_extra_fields_ignored
Extra fields are silently ignored by Pydantic v2 default.
tests/agents/test_config.py:86
Method
test_extra_fields_still_ignored
(self)
tests/apps/test_meta_preservation.py:79
Method
test_extract_mcp_text_content
Test _extract_mcp_text_content method.
tests/tools/test_models.py:578
Method
test_extract_multiple_bindings
Test extracting multiple variable assignments.
tests/chat/state/test_manager.py:767
Method
test_extract_negative_value
Test extracting negative value.
tests/chat/state/test_manager.py:786
Method
test_extract_scientific_notation
Test extracting scientific notation.
tests/chat/state/test_manager.py:780
Function
test_extract_server_names_all
(tmp_path)
tests/config/test_cli_options.py:80
Function
test_extract_server_names_no_config
()
tests/config/test_cli_options.py:128
← previous
next →
3,701–3,800 of 6,849, ranked by callers