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_estimate_tokens
(self)
tests/chat/test_token_tracker.py:56
Method
test_estimated_flag
(self)
tests/chat/test_token_tracker.py:22
Method
test_estimates_empty_response
When usage is None and response is empty string, estimation still works.
tests/chat/test_conversation.py:2377
Method
test_estimates_when_no_usage_data
When usage is None, output tokens are estimated from response length.
tests/chat/test_conversation.py:2358
Method
test_evicted_turns_add_context_notice
When turns are evicted, a context notice is queued.
tests/chat/test_chat_context.py:2243
Method
test_eviction
Test LRU eviction when cache is full.
tests/chat/state/test_cache.py:86
Method
test_evicts_oldest
(self, tmp_path: Path)
tests/memory/test_store.py:157
Method
test_exact_length
Test with text exactly at max_len.
tests/display/test_formatters.py:206
Method
test_exact_length
Test with content exactly at max_len.
tests/display/test_formatters.py:281
Method
test_exact_match
(self, manager)
tests/utils/test_trusted_domains.py:38
Method
test_exactly_at_limit_unchanged
(self)
tests/chat/test_tool_processor.py:633
Method
test_exactly_at_max_turns
When at exactly max_turns, the max_turns message is injected.
tests/chat/test_conversation_extended.py:312
Method
test_exception_bubbles_as_error
(self, cmd)
tests/commands/apps/test_apps_command.py:132
Method
test_exception_during_execution
Exception during execute returns False and prints error.
tests/adapters/test_cli_adapter_coverage.py:604
Method
test_exception_from_vm_is_swallowed
Exceptions from vm.create_page are caught silently.
tests/chat/test_tool_processor.py:1221
Method
test_exception_handling
Lines 914-915: exception during registration is caught.
tests/chat/test_tool_processor_extended.py:2077
Method
test_exception_in_unwrap_returns_false
Exceptions during processing return False.
tests/chat/test_tool_processor.py:1456
Method
test_exception_invalid_parameter
Test exception handling for Invalid parameter error.
tests/commands/definitions/test_execute_tool_coverage.py:317
Method
test_exception_returns_false
Returns False on unexpected exception.
tests/chat/test_chat_handler_coverage.py:145
Method
test_exception_returns_false
Returns False on unexpected exception.
tests/chat/test_chat_handler_coverage.py:382
Method
test_exception_returns_true
Exceptions in preference lookup default to confirming.
tests/chat/test_tool_processor.py:2451
Method
test_exception_unexpected_keyword_argument
Test exception handling for unexpected keyword argument error.
tests/commands/definitions/test_execute_tool_coverage.py:289
Method
test_execute
Test executing the clear command.
tests/commands/definitions/test_clear_command.py:24
Method
test_execute
Test executing the exit command.
tests/commands/definitions/test_exit_command.py:23
Method
test_execute_add_command
Test 'add' subcommand (not implemented).
tests/commands/definitions/test_server_singular.py:161
Method
test_execute_all_exceptions_no_banner
Test execute when both context and ModelManager fail (covers lines 91-99).
tests/commands/definitions/test_clear_command_extended.py:126
Method
test_execute_all_servers
Test pinging all servers.
tests/commands/definitions/test_ping_command.py:33
Method
test_execute_alternative_off_values
Test alternative 'off' values.
tests/commands/definitions/test_verbose_command.py:140
Method
test_execute_alternative_on_values
Test alternative 'on' values.
tests/commands/definitions/test_verbose_command.py:128
Method
test_execute_args_as_string
Test executing with args as string instead of list.
tests/commands/definitions/test_server_singular.py:80
Method
test_execute_args_as_string
Test args provided as string instead of list.
tests/commands/definitions/test_execute_tool_command.py:369
Method
test_execute_args_as_string
Test execution with args as a string instead of list.
tests/commands/definitions/test_models_command_extended.py:316
Method
test_execute_backends
Test execution with 'backends' subcommand.
tests/commands/definitions/test_token_command.py:285
Method
test_execute_backends_error
Test execution with 'backends' when error occurs.
tests/commands/definitions/test_token_command.py:788
Method
test_execute_backends_with_env_override
Test execution with 'backends' when env override is set.
tests/commands/definitions/test_token_command.py:1172
Method
test_execute_backends_with_invalid_env_override
Test execution with 'backends' when env override is invalid.
tests/commands/definitions/test_token_command.py:1202
Method
test_execute_basic
Test basic execution without parameters.
tests/commands/definitions/test_servers_command.py:52
Method
test_execute_by_server
Test listing prompts for a specific server.
tests/commands/definitions/test_prompts_command.py:51
Method
test_execute_by_server
Test listing resources for a specific server.
tests/commands/definitions/test_resources_command.py:57
Method
test_execute_case_insensitive_subcommand
Test that subcommands are case-insensitive.
tests/commands/definitions/test_token_command.py:182
Method
test_execute_clear
Test clearing conversation history.
tests/commands/definitions/test_conversation_command.py:50
Method
test_execute_clear_confirm_with_namespace
Test execution with 'clear' confirming with namespace.
tests/commands/definitions/test_token_command.py:1041
Method
test_execute_clear_error
Test execution with 'clear' when error occurs.
tests/commands/definitions/test_token_command.py:774
Method
test_execute_clear_with_force_long
Test execution with 'clear' subcommand with --force flag.
tests/commands/definitions/test_token_command.py:77
Method
test_execute_clear_with_force_short
Test execution with 'clear' subcommand with -f flag.
tests/commands/definitions/test_token_command.py:93
Method
test_execute_clear_with_namespace
Test execution with 'clear' subcommand with specific namespace.
tests/commands/definitions/test_token_command.py:635
Method
test_execute_clear_with_tokens
Test execution with 'clear' subcommand when tokens exist.
tests/commands/definitions/test_token_command.py:616
Method
test_execute_clear_without_force
Test execution with 'clear' subcommand without force flag.
tests/commands/definitions/test_token_command.py:60
Method
test_execute_command_error_handling
Test that execute command provides helpful error messages.
tests/test_command_consistency.py:157
Method
test_execute_command_json_validation
Test that execute command validates JSON parameters correctly.
tests/test_command_consistency.py:125
Method
test_execute_context_exception_fallback_to_model_manager
Test execute when context raises exception, falls back to ModelManager (covers lines 91-99).
tests/commands/definitions/test_clear_command_extended.py:94
Method
test_execute_context_returns_none
Test when context returns None.
tests/commands/definitions/test_ping_command.py:254
Method
test_execute_delete_error
Test execution with 'delete' when error occurs.
tests/commands/definitions/test_token_command.py:760
Method
test_execute_delete_not_found
Test execution with 'delete' token not found.
tests/commands/definitions/test_token_command.py:599
Method
test_execute_delete_oauth
Test execution with 'delete' subcommand for OAuth token.
tests/commands/definitions/test_token_command.py:548
Method
test_execute_delete_oauth_not_found
Test execution with 'delete' OAuth token not found.
tests/commands/definitions/test_token_command.py:564
Method
test_execute_delete_provider
Test execution with 'delete-provider' subcommand.
tests/commands/definitions/test_token_command.py:399
Method
test_execute_delete_provider_error
Test execution with 'delete-provider' when error occurs.
tests/commands/definitions/test_token_command.py:832
Method
test_execute_delete_provider_no_provider
Test execution with 'delete-provider' but no provider name.
tests/commands/definitions/test_token_command.py:437
Method
test_execute_delete_provider_not_found
Test execution with 'delete-provider' but token not found.
tests/commands/definitions/test_token_command.py:418
Method
test_execute_delete_with_name
Test execution with 'delete' subcommand and token name.
tests/commands/definitions/test_token_command.py:109
Method
test_execute_delete_with_namespace
Test execution with 'delete' and specific namespace.
tests/commands/definitions/test_token_command.py:581
Method
test_execute_delete_without_name
Test execution with 'delete' subcommand but no token name.
tests/commands/definitions/test_token_command.py:126
Method
test_execute_detailed
Test listing prompts with detailed information.
tests/commands/definitions/test_prompts_command.py:71
Method
test_execute_detailed
Test execution with detailed flag.
tests/commands/definitions/test_servers_command.py:68
Method
test_execute_detailed
Test listing resources with detailed information.
tests/commands/definitions/test_resources_command.py:82
Method
test_execute_disable
Test explicitly disabling verbose mode.
tests/commands/definitions/test_verbose_command.py:61
Method
test_execute_disable_command
Test 'disable' subcommand (not implemented).
tests/commands/definitions/test_server_singular.py:194
Method
test_execute_disconnected_server
Test execution with a disconnected server.
tests/commands/definitions/test_servers_command.py:196
Method
test_execute_disconnected_server
Test listing with a disconnected server.
tests/commands/definitions/test_server_singular.py:266
Function
test_execute_dynamic_tool_call_tool
Test execute_dynamic_tool handles call_tool.
tests/tools/test_dynamic_tools.py:274
Function
test_execute_dynamic_tool_get_tool_schema
Test execute_dynamic_tool handles get_tool_schema.
tests/tools/test_dynamic_tools.py:264
Function
test_execute_dynamic_tool_list_tools
Test execute_dynamic_tool handles list_tools.
tests/tools/test_dynamic_tools.py:243
Function
test_execute_dynamic_tool_search_tools
Test execute_dynamic_tool handles search_tools.
tests/tools/test_dynamic_tools.py:253
Function
test_execute_dynamic_tool_unknown
Test execute_dynamic_tool returns error for unknown tool.
tests/tools/test_dynamic_tools.py:284
Method
test_execute_empty_history
Test showing empty conversation history.
tests/commands/definitions/test_conversation_command.py:101
Method
test_execute_empty_list
Test execution with empty list of arguments.
tests/commands/definitions/test_token_command.py:166
Method
test_execute_empty_params
Test execution with empty parameters.
tests/commands/definitions/test_execute_tool_command.py:246
Method
test_execute_enable
Test explicitly enabling verbose mode.
tests/commands/definitions/test_verbose_command.py:49
Method
test_execute_enable_command
Test 'enable' subcommand (not implemented).
tests/commands/definitions/test_server_singular.py:183
Method
test_execute_error_handling
Test error handling during execution.
tests/commands/definitions/test_prompts_command.py:103
Method
test_execute_error_handling
Test error handling during clear.
tests/commands/definitions/test_clear_command.py:78
Method
test_execute_error_handling
Test error handling during execution.
tests/commands/definitions/test_servers_command.py:96
Method
test_execute_error_handling
Test error handling during execution.
tests/commands/definitions/test_themes_plural_command.py:51
Method
test_execute_error_handling
Test error handling during ping.
tests/commands/definitions/test_ping_command.py:104
Method
test_execute_error_handling
Test error handling during execution.
tests/commands/definitions/test_resources_command.py:117
Method
test_execute_exception_wrapper
Test that general exceptions are caught by execute wrapper.
tests/commands/definitions/test_token_command.py:847
Method
test_execute_failed_ping
Test when server is disconnected.
tests/commands/definitions/test_ping_command.py:83
Method
test_execute_filter_by_index
Test filtering servers by index.
tests/commands/definitions/test_ping_command.py:224
Method
test_execute_general_help
Test showing general help.
tests/commands/definitions/test_help_command.py:25
Method
test_execute_get_all_tools_exception
Test handling exceptions when getting tools.
tests/commands/definitions/test_execute_tool_command.py:261
Method
test_execute_get_error
Test execution with 'get' when error occurs.
tests/commands/definitions/test_token_command.py:746
Method
test_execute_get_found_in_oauth
Test execution with 'get' finding token in OAuth namespace.
tests/commands/definitions/test_token_command.py:519
Method
test_execute_get_parse_error
Test execution with 'get' when token data parsing fails.
tests/commands/definitions/test_token_command.py:1024
Method
test_execute_get_provider
Test execution with 'get-provider' subcommand.
tests/commands/definitions/test_token_command.py:338
Method
test_execute_get_provider_error
Test execution with 'get-provider' when error occurs.
tests/commands/definitions/test_token_command.py:817
Method
test_execute_get_provider_no_provider
Test execution with 'get-provider' but no provider name.
tests/commands/definitions/test_token_command.py:388
Method
test_execute_get_provider_no_token
Test execution with 'get-provider' but no token found.
tests/commands/definitions/test_token_command.py:363
Method
test_execute_get_with_display_info
Test execution with 'get' showing full token info.
tests/commands/definitions/test_token_command.py:1000
Method
test_execute_get_with_name
Test execution with 'get' subcommand and token name.
tests/commands/definitions/test_token_command.py:259
← previous
next →
3,501–3,600 of 6,849, ranked by callers