MCPcopy Create free account

hub / github.com/IBM/mcp-cli / functions

Functions6,849 in github.com/IBM/mcp-cli

Methodtest_estimate_tokens
(self)
tests/chat/test_token_tracker.py:56
Methodtest_estimated_flag
(self)
tests/chat/test_token_tracker.py:22
Methodtest_estimates_empty_response
When usage is None and response is empty string, estimation still works.
tests/chat/test_conversation.py:2377
Methodtest_estimates_when_no_usage_data
When usage is None, output tokens are estimated from response length.
tests/chat/test_conversation.py:2358
Methodtest_evicted_turns_add_context_notice
When turns are evicted, a context notice is queued.
tests/chat/test_chat_context.py:2243
Methodtest_eviction
Test LRU eviction when cache is full.
tests/chat/state/test_cache.py:86
Methodtest_evicts_oldest
(self, tmp_path: Path)
tests/memory/test_store.py:157
Methodtest_exact_length
Test with text exactly at max_len.
tests/display/test_formatters.py:206
Methodtest_exact_length
Test with content exactly at max_len.
tests/display/test_formatters.py:281
Methodtest_exact_match
(self, manager)
tests/utils/test_trusted_domains.py:38
Methodtest_exactly_at_limit_unchanged
(self)
tests/chat/test_tool_processor.py:633
Methodtest_exactly_at_max_turns
When at exactly max_turns, the max_turns message is injected.
tests/chat/test_conversation_extended.py:312
Methodtest_exception_bubbles_as_error
(self, cmd)
tests/commands/apps/test_apps_command.py:132
Methodtest_exception_during_execution
Exception during execute returns False and prints error.
tests/adapters/test_cli_adapter_coverage.py:604
Methodtest_exception_from_vm_is_swallowed
Exceptions from vm.create_page are caught silently.
tests/chat/test_tool_processor.py:1221
Methodtest_exception_handling
Lines 914-915: exception during registration is caught.
tests/chat/test_tool_processor_extended.py:2077
Methodtest_exception_in_unwrap_returns_false
Exceptions during processing return False.
tests/chat/test_tool_processor.py:1456
Methodtest_exception_invalid_parameter
Test exception handling for Invalid parameter error.
tests/commands/definitions/test_execute_tool_coverage.py:317
Methodtest_exception_returns_false
Returns False on unexpected exception.
tests/chat/test_chat_handler_coverage.py:145
Methodtest_exception_returns_false
Returns False on unexpected exception.
tests/chat/test_chat_handler_coverage.py:382
Methodtest_exception_returns_true
Exceptions in preference lookup default to confirming.
tests/chat/test_tool_processor.py:2451
Methodtest_exception_unexpected_keyword_argument
Test exception handling for unexpected keyword argument error.
tests/commands/definitions/test_execute_tool_coverage.py:289
Methodtest_execute
Test executing the clear command.
tests/commands/definitions/test_clear_command.py:24
Methodtest_execute
Test executing the exit command.
tests/commands/definitions/test_exit_command.py:23
Methodtest_execute_add_command
Test 'add' subcommand (not implemented).
tests/commands/definitions/test_server_singular.py:161
Methodtest_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
Methodtest_execute_all_servers
Test pinging all servers.
tests/commands/definitions/test_ping_command.py:33
Methodtest_execute_alternative_off_values
Test alternative 'off' values.
tests/commands/definitions/test_verbose_command.py:140
Methodtest_execute_alternative_on_values
Test alternative 'on' values.
tests/commands/definitions/test_verbose_command.py:128
Methodtest_execute_args_as_string
Test executing with args as string instead of list.
tests/commands/definitions/test_server_singular.py:80
Methodtest_execute_args_as_string
Test args provided as string instead of list.
tests/commands/definitions/test_execute_tool_command.py:369
Methodtest_execute_args_as_string
Test execution with args as a string instead of list.
tests/commands/definitions/test_models_command_extended.py:316
Methodtest_execute_backends
Test execution with 'backends' subcommand.
tests/commands/definitions/test_token_command.py:285
Methodtest_execute_backends_error
Test execution with 'backends' when error occurs.
tests/commands/definitions/test_token_command.py:788
Methodtest_execute_backends_with_env_override
Test execution with 'backends' when env override is set.
tests/commands/definitions/test_token_command.py:1172
Methodtest_execute_backends_with_invalid_env_override
Test execution with 'backends' when env override is invalid.
tests/commands/definitions/test_token_command.py:1202
Methodtest_execute_basic
Test basic execution without parameters.
tests/commands/definitions/test_servers_command.py:52
Methodtest_execute_by_server
Test listing prompts for a specific server.
tests/commands/definitions/test_prompts_command.py:51
Methodtest_execute_by_server
Test listing resources for a specific server.
tests/commands/definitions/test_resources_command.py:57
Methodtest_execute_case_insensitive_subcommand
Test that subcommands are case-insensitive.
tests/commands/definitions/test_token_command.py:182
Methodtest_execute_clear
Test clearing conversation history.
tests/commands/definitions/test_conversation_command.py:50
Methodtest_execute_clear_confirm_with_namespace
Test execution with 'clear' confirming with namespace.
tests/commands/definitions/test_token_command.py:1041
Methodtest_execute_clear_error
Test execution with 'clear' when error occurs.
tests/commands/definitions/test_token_command.py:774
Methodtest_execute_clear_with_force_long
Test execution with 'clear' subcommand with --force flag.
tests/commands/definitions/test_token_command.py:77
Methodtest_execute_clear_with_force_short
Test execution with 'clear' subcommand with -f flag.
tests/commands/definitions/test_token_command.py:93
Methodtest_execute_clear_with_namespace
Test execution with 'clear' subcommand with specific namespace.
tests/commands/definitions/test_token_command.py:635
Methodtest_execute_clear_with_tokens
Test execution with 'clear' subcommand when tokens exist.
tests/commands/definitions/test_token_command.py:616
Methodtest_execute_clear_without_force
Test execution with 'clear' subcommand without force flag.
tests/commands/definitions/test_token_command.py:60
Methodtest_execute_command_error_handling
Test that execute command provides helpful error messages.
tests/test_command_consistency.py:157
Methodtest_execute_command_json_validation
Test that execute command validates JSON parameters correctly.
tests/test_command_consistency.py:125
Methodtest_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
Methodtest_execute_context_returns_none
Test when context returns None.
tests/commands/definitions/test_ping_command.py:254
Methodtest_execute_delete_error
Test execution with 'delete' when error occurs.
tests/commands/definitions/test_token_command.py:760
Methodtest_execute_delete_not_found
Test execution with 'delete' token not found.
tests/commands/definitions/test_token_command.py:599
Methodtest_execute_delete_oauth
Test execution with 'delete' subcommand for OAuth token.
tests/commands/definitions/test_token_command.py:548
Methodtest_execute_delete_oauth_not_found
Test execution with 'delete' OAuth token not found.
tests/commands/definitions/test_token_command.py:564
Methodtest_execute_delete_provider
Test execution with 'delete-provider' subcommand.
tests/commands/definitions/test_token_command.py:399
Methodtest_execute_delete_provider_error
Test execution with 'delete-provider' when error occurs.
tests/commands/definitions/test_token_command.py:832
Methodtest_execute_delete_provider_no_provider
Test execution with 'delete-provider' but no provider name.
tests/commands/definitions/test_token_command.py:437
Methodtest_execute_delete_provider_not_found
Test execution with 'delete-provider' but token not found.
tests/commands/definitions/test_token_command.py:418
Methodtest_execute_delete_with_name
Test execution with 'delete' subcommand and token name.
tests/commands/definitions/test_token_command.py:109
Methodtest_execute_delete_with_namespace
Test execution with 'delete' and specific namespace.
tests/commands/definitions/test_token_command.py:581
Methodtest_execute_delete_without_name
Test execution with 'delete' subcommand but no token name.
tests/commands/definitions/test_token_command.py:126
Methodtest_execute_detailed
Test listing prompts with detailed information.
tests/commands/definitions/test_prompts_command.py:71
Methodtest_execute_detailed
Test execution with detailed flag.
tests/commands/definitions/test_servers_command.py:68
Methodtest_execute_detailed
Test listing resources with detailed information.
tests/commands/definitions/test_resources_command.py:82
Methodtest_execute_disable
Test explicitly disabling verbose mode.
tests/commands/definitions/test_verbose_command.py:61
Methodtest_execute_disable_command
Test 'disable' subcommand (not implemented).
tests/commands/definitions/test_server_singular.py:194
Methodtest_execute_disconnected_server
Test execution with a disconnected server.
tests/commands/definitions/test_servers_command.py:196
Methodtest_execute_disconnected_server
Test listing with a disconnected server.
tests/commands/definitions/test_server_singular.py:266
Functiontest_execute_dynamic_tool_call_tool
Test execute_dynamic_tool handles call_tool.
tests/tools/test_dynamic_tools.py:274
Functiontest_execute_dynamic_tool_get_tool_schema
Test execute_dynamic_tool handles get_tool_schema.
tests/tools/test_dynamic_tools.py:264
Functiontest_execute_dynamic_tool_list_tools
Test execute_dynamic_tool handles list_tools.
tests/tools/test_dynamic_tools.py:243
Functiontest_execute_dynamic_tool_search_tools
Test execute_dynamic_tool handles search_tools.
tests/tools/test_dynamic_tools.py:253
Functiontest_execute_dynamic_tool_unknown
Test execute_dynamic_tool returns error for unknown tool.
tests/tools/test_dynamic_tools.py:284
Methodtest_execute_empty_history
Test showing empty conversation history.
tests/commands/definitions/test_conversation_command.py:101
Methodtest_execute_empty_list
Test execution with empty list of arguments.
tests/commands/definitions/test_token_command.py:166
Methodtest_execute_empty_params
Test execution with empty parameters.
tests/commands/definitions/test_execute_tool_command.py:246
Methodtest_execute_enable
Test explicitly enabling verbose mode.
tests/commands/definitions/test_verbose_command.py:49
Methodtest_execute_enable_command
Test 'enable' subcommand (not implemented).
tests/commands/definitions/test_server_singular.py:183
Methodtest_execute_error_handling
Test error handling during execution.
tests/commands/definitions/test_prompts_command.py:103
Methodtest_execute_error_handling
Test error handling during clear.
tests/commands/definitions/test_clear_command.py:78
Methodtest_execute_error_handling
Test error handling during execution.
tests/commands/definitions/test_servers_command.py:96
Methodtest_execute_error_handling
Test error handling during execution.
tests/commands/definitions/test_themes_plural_command.py:51
Methodtest_execute_error_handling
Test error handling during ping.
tests/commands/definitions/test_ping_command.py:104
Methodtest_execute_error_handling
Test error handling during execution.
tests/commands/definitions/test_resources_command.py:117
Methodtest_execute_exception_wrapper
Test that general exceptions are caught by execute wrapper.
tests/commands/definitions/test_token_command.py:847
Methodtest_execute_failed_ping
Test when server is disconnected.
tests/commands/definitions/test_ping_command.py:83
Methodtest_execute_filter_by_index
Test filtering servers by index.
tests/commands/definitions/test_ping_command.py:224
Methodtest_execute_general_help
Test showing general help.
tests/commands/definitions/test_help_command.py:25
Methodtest_execute_get_all_tools_exception
Test handling exceptions when getting tools.
tests/commands/definitions/test_execute_tool_command.py:261
Methodtest_execute_get_error
Test execution with 'get' when error occurs.
tests/commands/definitions/test_token_command.py:746
Methodtest_execute_get_found_in_oauth
Test execution with 'get' finding token in OAuth namespace.
tests/commands/definitions/test_token_command.py:519
Methodtest_execute_get_parse_error
Test execution with 'get' when token data parsing fails.
tests/commands/definitions/test_token_command.py:1024
Methodtest_execute_get_provider
Test execution with 'get-provider' subcommand.
tests/commands/definitions/test_token_command.py:338
Methodtest_execute_get_provider_error
Test execution with 'get-provider' when error occurs.
tests/commands/definitions/test_token_command.py:817
Methodtest_execute_get_provider_no_provider
Test execution with 'get-provider' but no provider name.
tests/commands/definitions/test_token_command.py:388
Methodtest_execute_get_provider_no_token
Test execution with 'get-provider' but no token found.
tests/commands/definitions/test_token_command.py:363
Methodtest_execute_get_with_display_info
Test execution with 'get' showing full token info.
tests/commands/definitions/test_token_command.py:1000
Methodtest_execute_get_with_name
Test execution with 'get' subcommand and token name.
tests/commands/definitions/test_token_command.py:259
← previousnext →3,501–3,600 of 6,849, ranked by callers