MCPcopy Create free account

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

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

Methodtest_dim_color_applied
Test dim color is applied to meta text.
tests/display/test_color_converter.py:155
Methodtest_direct_call_no_tools
(self)
tests/chat/test_system_prompt.py:226
Methodtest_direct_call_with_tools
(self)
tests/chat/test_system_prompt.py:233
Methodtest_direct_number
(self)
tests/chat/test_tool_processor_extended.py:485
Methodtest_direct_structured_content_returns_true
(self)
tests/chat/test_tool_processor.py:1402
Methodtest_dirty_flag_on_tool_change
_initialize_tools sets dirty=True.
tests/chat/test_chat_context.py:1100
Methodtest_disable_server
Test disabling a server.
tests/utils/test_preferences.py:265
Methodtest_disable_tool
Test disable_tool method.
tests/tools/test_tool_manager.py:476
Methodtest_disable_tool_user_reason
Test disable_tool with user reason.
tests/tools/test_filter.py:31
Methodtest_disable_tool_validation_reason
Test disable_tool with validation reason.
tests/tools/test_filter.py:42
Methodtest_disabled_with_negative
(self)
tests/chat/test_tool_processor.py:662
Methodtest_disabled_with_zero
(self)
tests/chat/test_tool_processor.py:656
Methodtest_discover_runtime_provider_discovers_models
Test discover_runtime_provider triggers model discovery.
tests/model_management/test_model_manager.py:178
Methodtest_discover_runtime_provider_discovery_fails
Test discover_runtime_provider when discovery fails.
tests/model_management/test_model_manager.py:205
Methodtest_discovered_count_override
Test that explicit count overrides auto-calculation.
tests/model_management/test_discovery_result.py:67
Methodtest_discovery_401_unauthorized
Test discovery with invalid API key.
tests/model_management/test_provider_discovery.py:120
Methodtest_discovery_budget_exhausted
Test handling of discovery budget exhaustion.
tests/chat/test_conversation.py:495
Methodtest_discovery_budget_formats_message
Test that discovery budget exhaustion formats proper message.
tests/chat/test_conversation.py:1195
Methodtest_discovery_budget_stops_streaming
Discovery budget exhaustion stops active streaming UI.
tests/chat/test_conversation.py:2497
Methodtest_discovery_budget_stops_streaming
(self)
tests/chat/test_conversation_extended.py:610
Methodtest_discovery_empty_model_list
Test discovery when API returns empty model list.
tests/model_management/test_provider_discovery.py:79
Methodtest_discovery_http_error
Test discovery when HTTP request fails.
tests/model_management/test_provider_discovery.py:102
Methodtest_discovery_models_without_id
Test discovery when some models don't have 'id' field.
tests/model_management/test_provider_discovery.py:144
Methodtest_discovery_tool_result
When result is from a discovery tool, classify_by_result and _register_discovered_tools are called.
tests/chat/test_tool_processor_extended.py:1834
Methodtest_discovery_with_v1_suffix
Test discovery when api_base already ends with /v1.
tests/model_management/test_provider_discovery.py:56
Methodtest_display_name
(self)
tests/chat/test_attachments.py:293
Methodtest_display_plan_basic
(self)
tests/commands/plan/test_plan_command.py:1141
Methodtest_display_plan_no_result_variables
(self)
tests/commands/plan/test_plan_command.py:1189
Methodtest_display_plan_with_result_variables
(self)
tests/commands/plan/test_plan_command.py:1161
Methodtest_display_result_non_serializable_dict
Test display_result with non-serializable dict.
tests/tools/test_models.py:622
Methodtest_display_result_none_result
Test display_result with None result.
tests/tools/test_models.py:617
Methodtest_display_result_with_int
Test display_result with int result.
tests/tools/test_models.py:944
Methodtest_display_result_with_list
Test display_result with list result.
tests/tools/test_models.py:939
Methodtest_display_result_with_mcp_content
Test display_result with MCP content structure.
tests/tools/test_models.py:606
Methodtest_display_status_env
Test display status for env var.
tests/auth/test_provider_tokens.py:213
Methodtest_display_status_not_set
Test display status when not set.
tests/auth/test_provider_tokens.py:235
Methodtest_display_status_storage
Test display status for storage.
tests/auth/test_provider_tokens.py:224
Functiontest_display_tool_call_failure
(result, capsys)
tests/display/test_formatting.py:162
Functiontest_display_tool_call_large_dict
Test display of large dict (>10 keys).
tests/display/test_formatting.py:217
Functiontest_display_tool_call_large_list_of_dicts
Test display of large list of dict results (>10 items).
tests/display/test_formatting.py:175
Functiontest_display_tool_call_large_simple_list
Test display of large simple list (>10 items).
tests/display/test_formatting.py:203
Functiontest_display_tool_call_long_string
Test display of long string result (>500 chars).
tests/display/test_formatting.py:244
Functiontest_display_tool_call_non_serializable
Test display of non-JSON-serializable result.
tests/display/test_formatting.py:288
Functiontest_display_tool_call_other_type_large_json
Test display of other type with large JSON output.
tests/display/test_formatting.py:267
Functiontest_display_tool_call_other_type_serializable
Test display of other types that can be JSON serialized.
tests/display/test_formatting.py:258
Functiontest_display_tool_call_simple_list
Test display of simple list (non-dict items).
tests/display/test_formatting.py:189
Functiontest_display_tool_call_success
(result, capsys)
tests/display/test_formatting.py:128
Functiontest_display_tool_call_very_large_dict
Test display of very large dict with >500 chars JSON.
tests/display/test_formatting.py:229
Methodtest_do_clear_display_no_lines
Test _do_clear_display with no lines.
tests/display/test_manager_coverage.py:501
Methodtest_do_clear_display_single_line
Test _do_clear_display with single line.
tests/display/test_manager_coverage.py:492
Methodtest_do_clear_display_with_lines
Test _do_clear_display with lines to clear.
tests/display/test_manager_coverage.py:481
Methodtest_dotenv_installed_and_loads
Verify the happy path where dotenv is available and loads.
tests/test_mcp_cli_init.py:72
Methodtest_dotenv_not_installed_branch
Simulate python-dotenv not being installed so the except ModuleNotFoundError branch (lines 31-33) is executed.
tests/test_mcp_cli_init.py:33
Methodtest_double_quotes
(self)
tests/chat/test_tool_processor_extended.py:1384
Methodtest_download_base64_data_uri
data: URI content gets decoded as bytes.
tests/commands/memory/test_memory_command.py:677
Methodtest_download_image_no_mime
Image modality without mime type uses .png extension.
tests/commands/memory/test_memory_command.py:700
Methodtest_download_json_content
(self, tmp_path)
tests/commands/memory/test_memory_command.py:658
Methodtest_download_page_no_content
(self)
tests/commands/memory/test_memory_command.py:621
Methodtest_download_page_no_page_in_store
(self)
tests/commands/memory/test_memory_command.py:630
Methodtest_download_page_not_found
(self)
tests/commands/memory/test_memory_command.py:611
Methodtest_download_structured_no_mime
Structured modality without mime type uses .json extension.
tests/commands/memory/test_memory_command.py:723
Methodtest_download_text_modality_no_mime
Text modality without mime type falls through to .txt extension.
tests/commands/memory/test_memory_command.py:746
Methodtest_download_text_plain
(self, tmp_path)
tests/commands/memory/test_memory_command.py:639
Methodtest_download_write_exception
Exception during write returns failure.
tests/commands/memory/test_memory_command.py:769
Methodtest_drain_context_notices_empty
drain_context_notices returns empty list when nothing queued.
tests/chat/test_chat_context.py:1609
Methodtest_drain_empty
(self)
tests/chat/test_attachments.py:187
Methodtest_drain_pending_flushes
Pending notifications are flushed when WS reconnects.
tests/apps/test_session.py:64
Methodtest_drain_pending_requeues_on_failure
(self)
tests/apps/test_bridge.py:374
Methodtest_drain_pending_sends_queued
(self)
tests/apps/test_bridge.py:360
Methodtest_drain_returns_and_clears
(self)
tests/chat/test_attachments.py:166
Methodtest_dry_run_callbacks
(self, tmp_path)
tests/planning/test_executor.py:263
Methodtest_dry_run_marks_not_executed
(self, tmp_path)
tests/planning/test_executor.py:240
Methodtest_dry_run_returns_all_steps
(self, tmp_path)
tests/planning/test_executor.py:224
Methodtest_dry_run_simulates_variables
Dry run should simulate variable binding.
tests/planning/test_executor.py:251
Methodtest_duplicate_count_tracking
Test duplicate count is tracked.
tests/chat/state/test_cache.py:37
Methodtest_duplicate_detection_reset_on_different_args
Test that duplicate counter resets when args differ.
tests/chat/test_conversation.py:474
Methodtest_duplicate_empty_state
Empty state summary from format_state_for_model should not inject.
tests/chat/test_conversation_extended.py:152
Methodtest_duplicate_increments_count
Test that duplicate calls increment count.
tests/chat/state/test_cache.py:28
Methodtest_duplicate_launch_closes_previous
Launching app twice closes previous instance.
tests/apps/test_session.py:79
Methodtest_duplicate_triggers_state_injection
Test that duplicate tool calls trigger state summary injection.
tests/chat/test_conversation.py:1034
Methodtest_dynamic_mode_ignores_server_groups
Dynamic mode should not include server groups.
tests/chat/test_system_prompt.py:168
Methodtest_dynamic_mode_via_env
Setting MCP_CLI_DYNAMIC_TOOLS=1 should trigger dynamic prompt.
tests/chat/test_system_prompt.py:63
Methodtest_dynamic_mode_with_tools
Dynamic prompt should include tool count.
tests/chat/test_system_prompt.py:72
Methodtest_dynamic_prompt_contains_workflow
Dynamic prompt should describe the discovery workflow.
tests/chat/test_system_prompt.py:81
Methodtest_dynamic_prompt_with_none_tools
Dynamic prompt with tools=None should still work.
tests/chat/test_system_prompt.py:94
Functiontest_dynamic_tool_name_is_string_enum
Ensure enum values can be used as strings.
tests/tools/test_dynamic_tools.py:49
Functiontest_dynamic_tool_name_values
Verify enum values match expected tool names.
tests/tools/test_dynamic_tools.py:41
Functiontest_dynamic_tool_proxy_display_name
call_tool with tool_name arg displays as 'call_tool → actual_tool'.
tests/chat/test_tool_processor.py:1706
Methodtest_dynamic_tool_result
call_tool results extract actual tool name from arguments.
tests/chat/test_tool_processor_extended.py:1278
Methodtest_each_bind_creates_new_binding
Test that each bind creates a new binding (no deduplication at this level).
tests/chat/state/test_bindings.py:128
Methodtest_each_preset_has_layout_key
(self)
tests/dashboard/test_config.py:22
Methodtest_edge_case_100ms
Test edge case at 100ms boundary.
tests/commands/test_utils.py:120
Methodtest_edge_case_1023_bytes
Test edge case just below 1 KB.
tests/commands/test_utils.py:216
Methodtest_edge_case_10ms
Test edge case at 10ms boundary.
tests/commands/test_utils.py:108
Methodtest_edge_case_15_tools
Test edge case with exactly 15 tools.
tests/commands/test_utils.py:165
Methodtest_edge_case_16_tools
Test edge case with exactly 16 tools.
tests/commands/test_utils.py:160
Methodtest_edge_case_50ms
Test edge case at 50ms boundary.
tests/commands/test_utils.py:114
Methodtest_elapsed_time
Test elapsed time calculation.
tests/display/test_models.py:248
Methodtest_elapsed_time
Test elapsed_time calculation.
tests/chat/test_models.py:274
Methodtest_elapsed_time_after_completion
Test elapsed time uses end_time after completion.
tests/display/test_models.py:257
← previousnext →3,301–3,400 of 6,849, ranked by callers