MCPcopy Create free account

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

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

Methodtest_check_ungrounded_call_no_guard
Test check_ungrounded_call when guard is None.
tests/chat/state/test_manager.py:420
Methodtest_check_ungrounded_call_ungrounded
Test check_ungrounded_call with ungrounded args.
tests/chat/state/test_manager.py:433
Methodtest_check_ungrounded_call_with_user_literal
Test check_ungrounded_call with user-provided literal.
tests/chat/state/test_manager.py:426
Methodtest_checkpoint_after_execution
Execution checkpoints are saved after each batch.
tests/planning/test_executor.py:431
Methodtest_checkpoint_loaded
(self, tmp_path)
tests/planning/test_executor.py:660
Methodtest_checkpoint_not_found
(self, tmp_path)
tests/planning/test_executor.py:678
Methodtest_checkpoint_saved
(self, tmp_path)
tests/planning/test_executor.py:639
Methodtest_choices_completion_empty_value
export --format=' lists all choices.
tests/adapters/test_interactive_adapter_extended.py:361
Methodtest_choices_completion_no_match
export --format=z' returns no choice completions.
tests/adapters/test_interactive_adapter_extended.py:371
Methodtest_choices_completion_with_equals_sign
export --format=j' should complete to '--format=json'.
tests/adapters/test_interactive_adapter_extended.py:352
Methodtest_chuk_llm_env_vars_set
After import, CHUK_LLM_* env vars should be set.
tests/test_mcp_cli_init.py:23
Functiontest_chuk_llm_keys
Test which keys chuk-llm 0.7 actually uses.
diagnostics/provider_list_diagnostic.py:36
Methodtest_chuk_llm_native_format_empty_tool_calls
chuk_llm with empty tool_calls list.
tests/planning/test_executor.py:1241
Methodtest_chuk_llm_native_format_text_response
chuk_llm text response: {"response": "text", "tool_calls": null}.
tests/planning/test_executor.py:1231
Methodtest_chuk_llm_native_format_with_tool_calls
chuk_llm returns {"response": null, "tool_calls": [...], "usage": {...}}.
tests/planning/test_executor.py:1210
Methodtest_chunk_is_immutable
Test that chunks are frozen.
tests/display/test_models.py:99
Methodtest_chunks_still_counted_when_capped
chunks_received keeps incrementing even after cap.
tests/display/test_models.py:453
Methodtest_circular_object_handled
(self)
tests/dashboard/test_bridge_extended.py:132
Methodtest_circular_result_reference_breaks_loop
A wrapper whose .result points back to itself should not loop forever.
tests/apps/test_bridge.py:698
Methodtest_classify_by_result_get_tool_schema
Test classify_by_result with get_tool_schema result.
tests/chat/state/test_manager.py:653
Methodtest_classify_by_result_list_tools
Test classify_by_result with list_tools result.
tests/chat/state/test_manager.py:641
Methodtest_classify_by_result_non_dict
Test classify_by_result with non-dict result.
tests/chat/state/test_manager.py:664
Methodtest_classify_dict
(self)
tests/chat/state/test_models.py:41
Methodtest_classify_dict_type
Test classifying dict values.
tests/chat/state/test_bindings.py:280
Methodtest_classify_float
(self)
tests/chat/state/test_models.py:29
Methodtest_classify_int
(self)
tests/chat/state/test_models.py:26
Methodtest_classify_list
(self)
tests/chat/state/test_models.py:38
Methodtest_classify_list_type
Test classifying list values.
tests/chat/state/test_bindings.py:273
Methodtest_classify_non_numeric_string
(self)
tests/chat/state/test_models.py:35
Methodtest_classify_none
(self)
tests/chat/state/test_models.py:44
Methodtest_classify_numeric_string
(self)
tests/chat/state/test_models.py:32
Methodtest_classify_numeric_string
Test classifying numeric string.
tests/chat/state/test_bindings.py:294
Methodtest_classify_unknown_type
Test classifying unknown type (None, etc).
tests/chat/state/test_bindings.py:287
Methodtest_cleanup
(self, ui_manager)
tests/chat/test_ui_manager_coverage.py:661
Methodtest_cleanup
(self)
tests/agents/test_manager.py:81
Methodtest_cleanup_exception_handled
Exception during cleanup is caught.
tests/chat/test_chat_handler_coverage.py:721
Methodtest_cleanup_normal
Normal cleanup calls cleanup.
tests/chat/test_chat_handler_coverage.py:710
Methodtest_cleanup_streaming
Cleans up streaming state.
tests/chat/test_chat_handler_coverage.py:688
Methodtest_cleanup_tools_running
Cleans up tools state.
tests/chat/test_chat_handler_coverage.py:699
Methodtest_clear
(self, store: MemoryScopeStore)
tests/memory/test_store.py:99
Methodtest_clear
(self)
tests/chat/test_attachments.py:181
Methodtest_clear
Test clear removes all state.
tests/chat/state/test_manager.py:201
Methodtest_clear_all_disabled_servers
Test clearing all disabled servers.
tests/utils/test_preferences.py:650
Methodtest_clear_cache_empties_cache
Test that clear_cache removes all cached clients.
tests/model_management/test_client_factory.py:390
Methodtest_clear_cache_on_empty_cache
Test that clear_cache works on empty cache.
tests/model_management/test_client_factory.py:406
Methodtest_clear_conversation
(self)
tests/context/test_context_manager.py:389
Functiontest_clear_conversation_history_keep_system
Test clear_conversation_history with keep_system_prompt=True.
tests/chat/test_chat_context.py:252
Functiontest_clear_conversation_history_remove_all
Test clear_conversation_history creates fresh session (system prompt always kept).
tests/chat/test_chat_context.py:265
Methodtest_clear_current_display_async_multiline
Test async clearing of multi-line display.
tests/display/test_manager_coverage.py:277
Methodtest_clear_current_display_async_zero_lines
Test async clearing when no lines.
tests/display/test_manager_coverage.py:289
Methodtest_clear_current_display_sync_multiline
Test sync clearing of multi-line display.
tests/display/test_manager_coverage.py:297
Methodtest_clear_current_display_sync_zero_lines
Test sync clearing when no lines to clear.
tests/display/test_manager_coverage.py:308
Methodtest_clear_disabled_servers
Test clearing all disabled server preferences.
tests/utils/test_preferences.py:332
Methodtest_clear_empty
(self, cmd, ctx)
tests/commands/attach/test_attach_command.py:180
Methodtest_clear_global
(self)
tests/commands/memory/test_memory_command.py:1042
Methodtest_clear_invalid_scope
(self)
tests/commands/memory/test_memory_command.py:1034
Methodtest_clear_missing_scope_arg
clear' with no trailing space doesn't match the clear dispatch, so falls through to VM handling; with no VM but a store it calls _persistent_l
tests/commands/memory/test_memory_command.py:1011
Methodtest_clear_no_store
(self)
tests/commands/memory/test_memory_command.py:1002
Methodtest_clear_only_space_scope_arg
clear ' (with space but no scope) routes to _persistent_clear with missing scope.
tests/commands/memory/test_memory_command.py:1024
Methodtest_clear_previous_lines_multiple_lines
Test clearing multiple lines.
tests/display/test_manager_coverage.py:254
Methodtest_clear_previous_lines_single_line
Test clearing a single line.
tests/display/test_manager_coverage.py:246
Methodtest_clear_previous_lines_zero_lines
Test clearing when no lines to clear.
tests/display/test_manager_coverage.py:266
Methodtest_clear_registry
Test clearing the registry.
tests/commands/test_registry.py:265
Methodtest_clear_registry
Test clearing the registry.
tests/commands/test_unified_registry.py:211
Methodtest_clear_tool_confirmations
Test clearing all tool confirmations.
tests/utils/test_preferences.py:442
Methodtest_clear_validation_disabled
Test clear_validation_disabled method.
tests/tools/test_filter.py:102
Methodtest_clear_validation_disabled_tools
Test clear_validation_disabled_tools method.
tests/tools/test_tool_manager.py:506
Methodtest_clear_with_staged
(self, cmd, ctx, tmp_path)
tests/commands/attach/test_attach_command.py:188
Methodtest_clear_workspace
(self)
tests/commands/memory/test_memory_command.py:1052
Methodtest_cli_entry_chat_mode
cli_entry in 'chat' mode should call _enter_chat_mode.
tests/cli/test_run_command_extended.py:286
Methodtest_cli_entry_command_returns_false
cli_entry when command returns False should sys.exit(1).
tests/cli/test_run_command_extended.py:367
Methodtest_cli_entry_exception_exits
cli_entry should catch exceptions and sys.exit(1).
tests/cli/test_run_command_extended.py:394
Methodtest_cli_entry_interactive_mode
cli_entry in 'interactive' mode should call _enter_interactive_mode.
tests/cli/test_run_command_extended.py:317
Methodtest_cli_entry_invalid_mode
cli_entry with bad mode should exit with error.
tests/cli/test_run_command_extended.py:345
Methodtest_client_connected_delegates_to_bridge
(self)
tests/dashboard/test_router.py:85
Methodtest_client_connected_replays_default_bridge_only
(self)
tests/dashboard/test_router.py:166
Methodtest_client_connected_sends_agent_list
(self)
tests/dashboard/test_router.py:279
Methodtest_client_connected_sends_envelope
(self)
tests/dashboard/test_bridge_extended.py:282
Methodtest_client_connected_sets_default_focus
(self)
tests/dashboard/test_router.py:309
Methodtest_client_connected_sets_default_subscription
(self)
tests/dashboard/test_router.py:487
Methodtest_client_disconnected_cleans_up_state
(self)
tests/dashboard/test_router.py:498
Methodtest_client_disconnected_delegates_to_bridge
(self)
tests/dashboard/test_router.py:96
Methodtest_client_disconnected_notifies_all_bridges
(self)
tests/dashboard/test_router.py:181
Methodtest_client_disconnected_without_ws_still_works
Backward compat: calling with no ws arg doesn't crash.
tests/dashboard/test_router.py:514
Methodtest_client_removed_from_set_after_disconnect
(self)
tests/dashboard/test_server_extra.py:218
Methodtest_close_all_marks_closed_first
(self)
tests/apps/test_host.py:188
Methodtest_close_app_idempotent
(self)
tests/apps/test_host.py:180
Methodtest_close_app_removes
(self)
tests/apps/test_host.py:151
Methodtest_close_app_sets_closed
(self)
tests/apps/test_host.py:166
Methodtest_close_with_exception
Test close handles exceptions gracefully.
tests/tools/test_tool_manager.py:238
Methodtest_close_with_stream_manager
Test close method with stream manager.
tests/tools/test_tool_manager.py:227
Methodtest_close_without_stream_manager
Test close without stream manager.
tests/tools/test_tool_manager.py:249
Methodtest_closes_servers
close_all() calls close() + wait_closed() on registered servers.
tests/apps/test_host.py:532
Methodtest_cmd_basic
(self, mock_theme, mock_opts, mock_run, runner)
tests/cli/test_main_coverage.py:782
Methodtest_cmd_help
(self, runner)
tests/cli/test_main_coverage.py:193
Methodtest_cmd_model_only
(self, mock_theme, mock_opts, mock_run, runner)
tests/cli/test_main_coverage.py:830
Methodtest_cmd_neither_provider_nor_model
( self, mock_theme, mock_opts, mock_run, runner )
tests/cli/test_main_coverage.py:841
Methodtest_cmd_provider_only
(self, mock_theme, mock_opts, mock_run, runner)
tests/cli/test_main_coverage.py:819
Methodtest_cmd_with_all_options
(self, mock_theme, mock_opts, mock_run, runner)
tests/cli/test_main_coverage.py:793
Methodtest_cmd_wrapper_called
Cover line 1505: the cmd _cmd_wrapper async function.
tests/cli/test_main_coverage.py:2132
← previousnext →2,701–2,800 of 6,849, ranked by callers