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
Function
test_get_tool_schema_with_no_parameters
Test get_tool_schema handles tools with no parameters.
tests/tools/test_dynamic_tools.py:536
Method
test_get_tool_state_singleton
Test get_tool_state returns singleton.
tests/chat/state/test_manager.py:216
Method
test_get_tool_validation_details
Test get_tool_validation_details method.
tests/tools/test_tool_manager.py:598
Function
test_get_tools_for_llm
(manager)
tests/tools/test_tool_manager.py:142
Method
test_get_tools_for_llm_dynamic_mode
Test get_tools_for_llm with dynamic tools mode.
tests/tools/test_tool_manager.py:420
Method
test_get_tools_for_llm_exception
Test get_tools_for_llm handles exceptions.
tests/tools/test_tool_manager.py:453
Method
test_get_tools_for_llm_exclude_filter
Test get_tools_for_llm with exclude filter.
tests/tools/test_tool_manager.py:444
Method
test_get_tools_for_llm_include_filter
Test get_tools_for_llm with include filter.
tests/tools/test_tool_manager.py:435
Method
test_get_trusted_domains
(self, manager)
tests/utils/test_trusted_domains.py:76
Function
test_get_unique_tools
(manager)
tests/tools/test_tool_manager.py:78
Method
test_get_unknown_key_returns_default
(self)
tests/context/test_context_manager.py:211
Method
test_get_unused
Test get_unused returns unused bindings.
tests/chat/state/test_bindings.py:225
Method
test_get_unused_all_used
Test get_unused when all bindings are used.
tests/chat/state/test_bindings.py:235
Method
test_get_validation_summary
Test get_validation_summary method.
tests/tools/test_tool_manager.py:515
Method
test_get_validation_summary
Test get_validation_summary method.
tests/tools/test_filter.py:256
Method
test_get_variable
Test retrieving stored variables.
tests/chat/state/test_cache.py:52
Method
test_get_variable_missing
Test getting non-existent variable returns None.
tests/chat/state/test_cache.py:59
Method
test_getattr_handle_chat_mode
Test lazy import of handle_chat_mode.
tests/chat/test_init.py:10
Method
test_getattr_invalid_attribute
Test AttributeError for invalid attribute.
tests/chat/test_init.py:18
Method
test_gigabytes
Test size in gigabytes.
tests/commands/test_utils.py:206
Method
test_global_default_when_no_server
(self)
tests/tools/test_oauth_safety.py:102
Method
test_global_default_when_server_has_no_override
(self)
tests/tools/test_oauth_safety.py:106
Method
test_global_shared
(self, tmp_path: Path)
tests/memory/test_store.py:145
Method
test_grace_calls
Test grace period warns instead of blocking.
tests/chat/guards/test_ungrounded.py:98
Method
test_graph_store_created
(self, tmp_path)
tests/planning/test_context.py:75
Method
test_group_args_not_a_subcommand
When args don't match any subcommand, parse normally for the group.
tests/adapters/test_chat_adapter.py:500
Method
test_group_creates_sub_app
A CommandGroup is registered as a Typer sub-app.
tests/adapters/test_cli_adapter_coverage.py:396
Method
test_group_creation
Test creating a command group.
tests/commands/test_base.py:238
Method
test_group_empty_subcommands
A group with no subcommands still creates a sub-app.
tests/adapters/test_cli_adapter_coverage.py:425
Method
test_group_execute_invalid_subcommand
Test executing with an invalid subcommand.
tests/commands/test_base.py:294
Method
test_group_execute_no_subcommand
Test executing a group without specifying a subcommand.
tests/commands/test_base.py:263
Method
test_group_execute_with_subcommand
Test executing a specific subcommand.
tests/commands/test_base.py:281
Method
test_group_model_command_shortcut
Test model command treats unknown subcommand as model name.
tests/commands/test_base.py:328
Method
test_group_no_args_executes_default
Group command with no arguments runs the default action.
tests/adapters/test_chat_adapter.py:513
Method
test_group_provider_command_shortcut
Test provider command treats unknown subcommand as provider name.
tests/commands/test_base.py:351
Method
test_group_skips_alias_entries
Only primary subcommand names are registered, not aliases.
tests/adapters/test_cli_adapter_coverage.py:409
Method
test_group_special_list_subcommand
Test special handling for commands with 'list' subcommand.
tests/commands/test_base.py:304
Method
test_guard_allows
Returns None when guards allow the tool.
tests/planning/test_backends.py:337
Method
test_guard_allows_tool
When guards allow, the tool executes normally.
tests/planning/test_backends.py:278
Method
test_guard_blocks
Returns error string when guards block the tool.
tests/planning/test_backends.py:351
Method
test_guard_blocks_tool
When guards block, the tool is not executed.
tests/planning/test_backends.py:254
Method
test_guards_disabled
When enable_guards=False, no guard checks are performed.
tests/planning/test_backends.py:306
Method
test_handle_browser_message_fallback_to_one_arg_callback
(self)
tests/dashboard/test_server.py:201
Method
test_handle_browser_message_passes_ws_to_two_arg_callback
(self)
tests/dashboard/test_server.py:182
Method
test_handle_command_with_arguments
Test handling a command with arguments.
tests/adapters/test_interactive_adapter.py:107
Method
test_handle_command_with_equals_syntax
Test handling --option=value syntax.
tests/adapters/test_interactive_adapter.py:131
Method
test_handle_command_with_flag
Test handling a command with a flag.
tests/adapters/test_interactive_adapter.py:119
Method
test_handle_empty_command
Test handling empty input.
tests/adapters/test_interactive_adapter.py:151
Method
test_handle_errors_async_function_error
Test handle_errors with async function that raises error.
tests/commands/test_decorators.py:139
Method
test_handle_errors_async_function_success
Test handle_errors with async function that succeeds.
tests/commands/test_decorators.py:127
Method
test_handle_errors_async_return_value
Test handle_errors preserves async function return value.
tests/commands/test_decorators.py:187
Method
test_handle_errors_custom_message
Test handle_errors with custom error message.
tests/commands/test_decorators.py:172
Method
test_handle_errors_default_message
Test handle_errors with default error message.
tests/commands/test_decorators.py:156
Method
test_handle_errors_sync_function_raises_type_error
Test handle_errors with sync function raises TypeError.
tests/commands/test_decorators.py:117
Method
test_handle_non_streaming_no_method_raises
Non-streaming raises RuntimeError when no method available.
tests/chat/test_streaming_handler.py:651
Method
test_handle_non_streaming_with_complete
Non-streaming fallback with client.complete.
tests/chat/test_streaming_handler.py:629
Method
test_handle_oauth_flow_exception
Lines 562-570: Exception during OAuth flow.
tests/tools/test_tool_manager_extended.py:395
Method
test_handle_oauth_flow_exception_no_output_module
Lines 564-569: Exception during OAuth flow, chuk_term not importable.
tests/tools/test_tool_manager_extended.py:411
Method
test_handle_oauth_flow_no_tokens
Lines 556-560: OAuth flow returns no valid tokens.
tests/tools/test_tool_manager_extended.py:350
Method
test_handle_oauth_flow_no_transport_attr
Lines 545-551: stream_manager exists but has no transports attribute.
tests/tools/test_tool_manager_extended.py:427
Method
test_handle_oauth_flow_success_with_transport_update
Lines 497-555: Successful OAuth flow stores tokens and updates transport.
tests/tools/test_tool_manager_extended.py:305
Method
test_handle_oauth_flow_tokens_no_access_token
Lines 556-560: tokens returned but no access_token.
tests/tools/test_tool_manager_extended.py:371
Method
test_handle_sigint_double_tap
Double-tap raises KeyboardInterrupt.
tests/chat/test_ui_manager_coverage.py:583
Method
test_handle_sigint_first_tap_not_streaming
(self, ui_manager)
tests/chat/test_ui_manager_coverage.py:573
Method
test_handle_sigint_first_tap_streaming
(self, ui_manager)
tests/chat/test_ui_manager_coverage.py:561
Method
test_handle_sigint_resets_after_timeout
Interrupt count resets after 2 seconds.
tests/chat/test_ui_manager_coverage.py:594
Method
test_handle_simple_command
Test handling a simple command.
tests/adapters/test_interactive_adapter.py:95
Method
test_handle_streaming_completion_exception_in_finally
Test _handle_streaming_completion propagates exception but finally runs.
tests/chat/test_conversation_extended.py:1235
Method
test_handle_streaming_completion_none_tools
Test _handle_streaming_completion with tools=None.
tests/chat/test_conversation_extended.py:1263
Method
test_handle_streaming_completion_success
Test _handle_streaming_completion returns CompletionResponse.
tests/chat/test_conversation_extended.py:1154
Method
test_handle_streaming_completion_with_tool_calls
Test _handle_streaming_completion with tool calls in response.
tests/chat/test_conversation_extended.py:1196
Method
test_handle_unknown_command
Test handling an unknown command.
tests/adapters/test_interactive_adapter.py:143
Method
test_handler_catches_exceptions
(self)
tests/agents/test_tools.py:160
Method
test_handles_cancellation
Loop handles CancelledError gracefully.
tests/agents/test_loop.py:143
Method
test_handles_exception
Loop handles unexpected exceptions.
tests/agents/test_loop.py:166
Method
test_happy_path
Normal execution returns True.
tests/chat/test_chat_handler_coverage.py:67
Method
test_happy_path
Normal test-mode execution returns True.
tests/chat/test_chat_handler_coverage.py:325
Method
test_has_app_ui_false_no_meta
(self)
tests/apps/test_meta_preservation.py:119
Method
test_has_app_ui_false_no_ui
(self)
tests/apps/test_meta_preservation.py:124
Method
test_has_app_ui_true
(self)
tests/apps/test_meta_preservation.py:110
Method
test_has_clients_proxies_through_router
(self)
tests/dashboard/test_bridge_extended.py:838
Method
test_has_clients_proxies_to_server
(self)
tests/dashboard/test_router.py:105
Method
test_has_content_false
Test has_content property when False.
tests/chat/test_response_models.py:145
Method
test_has_content_true
Test has_content property when True.
tests/chat/test_response_models.py:140
Method
test_has_events_property
Test has_events property.
tests/commands/models/test_server_models.py:154
Method
test_has_exactly_three_entries
(self)
tests/planning/test_tools.py:135
Method
test_has_models_property_false
Test has_models property when no models.
tests/model_management/test_discovery_result.py:89
Method
test_has_models_property_false
Test has_models property when models list is empty.
tests/model_management/test_provider.py:98
Method
test_has_models_property_true
Test has_models property when models exist.
tests/model_management/test_discovery_result.py:79
Method
test_has_models_property_true
Test has_models property when models exist.
tests/model_management/test_provider.py:88
Method
test_has_streaming_property
Test has_streaming property.
tests/commands/models/test_server_models.py:165
Method
test_has_tool_calls_false
Test has_tool_calls property when False.
tests/chat/test_response_models.py:135
Method
test_has_tool_calls_true
Test has_tool_calls property when True.
tests/chat/test_response_models.py:125
Method
test_header
(self)
tests/chat/test_exporters.py:52
Method
test_header_copy_on_write
Verify header update uses copy-on-write, not in-place mutation.
tests/tools/test_oauth_safety.py:80
Method
test_health_poll_loop_handles_exception
Health poll loop catches and logs generic exceptions.
tests/chat/test_conversation.py:2216
Method
test_health_poll_loop_handles_none_info
Health poll loop handles None info entries gracefully.
tests/chat/test_conversation.py:2238
Method
test_health_poll_loop_logs_status_transition
Health poll loop logs warning when server status changes.
tests/chat/test_conversation.py:2187
Method
test_health_poll_loop_no_tool_manager
Health poll loop continues without error when tool_manager is None.
tests/chat/test_conversation.py:2145
Method
test_health_poll_loop_updates_status
Health poll loop updates _last_health from check_server_health results.
tests/chat/test_conversation.py:2163
← previous
next →
4,301–4,400 of 6,849, ranked by callers