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_conversation_truncate_long_message
Test that long messages get truncated in show.
tests/commands/definitions/test_conversation_load.py:113
Function
test_conversation_unknown_action
Test with completely unknown action.
tests/commands/definitions/test_conversation_extended_coverage.py:217
Function
test_conversation_with_limit
Test showing conversation with limit.
tests/commands/definitions/test_conversation_command_extended.py:109
Function
test_conversation_with_raw_format
Test showing conversation in raw format.
tests/commands/definitions/test_conversation_command_extended.py:124
Function
test_conversation_with_tool_calls_in_table
Test table display with tool call messages.
tests/commands/definitions/test_conversation_extended_coverage.py:164
Function
test_conversation_without_context
Test conversation command without chat context.
tests/commands/definitions/test_conversation_command_extended.py:40
Method
test_convert_messages_to_dicts
Test converting Message models to dicts.
tests/chat/test_response_models.py:172
Method
test_convert_messages_to_models_from_dicts
Test converting dict messages to models.
tests/chat/test_response_models.py:154
Method
test_convert_messages_to_models_passthrough
Test that Message instances pass through unchanged.
tests/chat/test_response_models.py:166
Function
test_convert_to_openai_tools_conversion
()
tests/tools/test_tool_manager.py:132
Function
test_convert_to_openai_tools_unchanged
()
tests/tools/test_tool_manager.py:127
Method
test_coroutine_awaited
(self)
tests/planning/test_executor.py:1180
Method
test_corrupted_preferences_file
Test handling corrupted preferences file.
tests/utils/test_preferences.py:215
Method
test_create
Test creating a FunctionCallData.
tests/chat/test_models.py:55
Method
test_create
Test creating ToolCallData.
tests/chat/test_models.py:89
Method
test_create
Test creating a record.
tests/chat/test_models.py:235
Method
test_create
Test creating state.
tests/chat/test_models.py:267
Method
test_create
Test creating status.
tests/chat/test_models.py:284
Method
test_create_binding
(self)
tests/chat/state/test_models.py:71
Method
test_create_factory
(self)
tests/context/test_context_manager.py:85
Method
test_create_factory_threads_params
create() factory passes context params through.
tests/chat/test_chat_context.py:1025
Method
test_create_forwards_agent_id
(self, monkeypatch)
tests/chat/test_chat_context.py:2708
Method
test_create_minimal
(self)
tests/apps/test_models.py:19
Method
test_create_model_only_calls_switch_model_on_current_provider
create(model=X) without provider calls switch_model on current provider.
tests/chat/test_chat_context.py:2417
Method
test_create_no_description
(self, cmd, tool_manager)
tests/commands/plan/test_plan_command.py:393
Method
test_create_no_provider_no_model_no_switch
create() with no provider and no model: ModelManager created but no switch called.
tests/chat/test_chat_context.py:2447
Method
test_create_no_tools
(self, cmd, tool_manager)
tests/commands/plan/test_plan_command.py:403
Function
test_create_oauth_refresh_callback_exception
Test OAuth token refresh when exception is raised.
tests/tools/test_config_loader.py:546
Function
test_create_oauth_refresh_callback_maps_url
Test refresh callback correctly maps URL to server.
tests/tools/test_config_loader.py:374
Function
test_create_oauth_refresh_callback_no_refresh_token
Test callback when no refresh token is available.
tests/tools/test_config_loader.py:395
Function
test_create_oauth_refresh_callback_no_url
Test refresh callback with no URL.
tests/tools/test_config_loader.py:350
Function
test_create_oauth_refresh_callback_refresh_fails
Test OAuth token refresh when refresh returns empty.
tests/tools/test_config_loader.py:510
Function
test_create_oauth_refresh_callback_sse_server
Test OAuth refresh callback finds server in SSE list.
tests/tools/test_config_loader.py:584
Function
test_create_oauth_refresh_callback_success
Test successful OAuth token refresh.
tests/tools/test_config_loader.py:467
Function
test_create_oauth_refresh_callback_unknown_url
Test refresh callback with unknown URL.
tests/tools/test_config_loader.py:361
Method
test_create_plan_agent_exception
Agent raises exception → error.
tests/commands/plan/test_plan_command.py:598
Method
test_create_plan_agent_returns_empty
Agent returns empty plan → error.
tests/commands/plan/test_plan_command.py:564
Method
test_create_plan_success
Full success path: agent generates plan, context saves it.
tests/commands/plan/test_plan_command.py:507
Function
test_create_servers_table
()
tests/display/test_formatting.py:94
Method
test_create_simple
Test creating a simple response.
tests/chat/test_response_models.py:31
Method
test_create_soft_block
(self)
tests/chat/state/test_models.py:216
Function
test_create_tools_table_basic
()
tests/display/test_formatting.py:53
Function
test_create_tools_table_with_details
()
tests/display/test_formatting.py:70
Method
test_create_user_message
Test creating a user message.
tests/chat/test_models.py:155
Method
test_create_with_config_path
(self)
tests/context/test_context_manager.py:96
Function
test_create_with_model_only
Test ChatContext.create with model only.
tests/chat/test_chat_context.py:433
Function
test_create_with_provider_and_api_settings
Test ChatContext.create with provider and API settings.
tests/chat/test_chat_context.py:459
Function
test_create_with_provider_model_and_api_settings
Test ChatContext.create with all settings.
tests/chat/test_chat_context.py:488
Function
test_create_with_provider_only
Test ChatContext.create with provider only.
tests/chat/test_chat_context.py:405
Method
test_create_with_tool_calls
Test creating response with tool calls.
tests/chat/test_response_models.py:38
Method
test_create_with_tool_manager
(self)
tests/context/test_context_manager.py:91
Method
test_creates_default_manager_when_none
(self, MockMM)
tests/core/test_model_resolver.py:48
Method
test_creates_entry
(self, store: MemoryScopeStore)
tests/memory/test_store.py:18
Method
test_creates_planning_context
First call creates a new PlanningContext and caches it.
tests/commands/plan/test_plan_command.py:475
Method
test_creates_typer_app
A Typer app is created with the correct configuration.
tests/adapters/test_cli_adapter_coverage.py:490
Method
test_creation
Test creating status info.
tests/commands/models/test_server_models.py:64
Method
test_creation
Test creating performance info.
tests/commands/models/test_server_models.py:92
Method
test_creation
Test creating a tool call.
tests/commands/models/test_cmd_models.py:51
Method
test_creation_assistant_with_tool_calls
Test creating assistant message with tool calls.
tests/commands/models/test_cmd_models.py:98
Method
test_creation_basic
Test creating a ServerInfoResponse with required fields.
tests/commands/models/test_responses.py:18
Method
test_creation_full
Test creating a ServerInfoResponse with all fields.
tests/commands/models/test_responses.py:33
Method
test_creation_full
Test creating with all fields.
tests/commands/models/test_responses.py:149
Method
test_creation_full
Test creating with all fields.
tests/commands/models/test_responses.py:191
Method
test_creation_full
Test creating with all fields.
tests/commands/models/test_responses.py:232
Method
test_creation_minimal
Test creating with only required fields.
tests/commands/models/test_responses.py:136
Method
test_creation_minimal
Test creating with only required fields.
tests/commands/models/test_responses.py:179
Method
test_creation_minimal
Test creating with only required fields.
tests/commands/models/test_responses.py:220
Method
test_creation_simple
Test creating a simple response.
tests/commands/models/test_cmd_models.py:182
Method
test_creation_tool_message
Test creating a tool response message.
tests/commands/models/test_cmd_models.py:114
Method
test_creation_user_message
Test creating a user message.
tests/commands/models/test_cmd_models.py:88
Method
test_creation_with_dict_arguments
Test creating with dict arguments.
tests/commands/models/test_cmd_models.py:40
Method
test_creation_with_string_arguments
Test creating with string arguments.
tests/commands/models/test_cmd_models.py:33
Method
test_creation_with_tool_calls
Test creating response with tool calls.
tests/commands/models/test_cmd_models.py:189
Method
test_csp_absent
(self)
tests/apps/test_host.py:101
Method
test_csp_empty_contents
(self)
tests/apps/test_host.py:105
Method
test_csp_filters_invalid_domains
CSP domains that fail the regex are silently filtered.
tests/apps/test_host.py:1176
Method
test_csp_present
(self)
tests/apps/test_host.py:86
Method
test_csp_with_connect_domains
CSP connectDomains are injected into the host page meta.
tests/apps/test_host.py:1134
Method
test_csp_with_resource_domains
CSP resourceDomains are added as img-src and font-src.
tests/apps/test_host.py:1157
Method
test_css_path_resolves
(self)
tests/dashboard/test_server.py:51
Method
test_css_path_traversal_rejected
(self)
tests/dashboard/test_server.py:73
Method
test_csv
(self)
tests/chat/test_attachments.py:58
Method
test_csv_file
(self, tmp_path)
tests/chat/test_attachments.py:237
Method
test_ctp_middleware_error_detected
When ToolManager wraps a CTP ToolExecutionResult error as success=True, the backend should detect and report the error correctly. Thi
tests/planning/test_backends.py:173
Method
test_ctp_middleware_success_unwrapped
When ToolManager wraps a successful CTP ToolExecutionResult, the backend should unwrap and return the inner result.
tests/planning/test_backends.py:213
Method
test_ctp_result_with_error
Extract error from CTP ToolExecutionResult.
tests/planning/test_backends.py:709
Method
test_ctp_tool_execution_result_failure
CTP ToolExecutionResult with success=False returns None.
tests/planning/test_backends.py:438
Method
test_ctp_tool_execution_result_failure
Detect CTP ToolExecutionResult with success=False.
tests/planning/test_backends.py:653
Method
test_ctp_tool_execution_result_nested
Unwrap nested CTP result with content blocks inside.
tests/planning/test_backends.py:450
Method
test_ctp_tool_execution_result_success
Unwrap CTP ToolExecutionResult with success=True.
tests/planning/test_backends.py:426
Method
test_ctp_tool_execution_result_success
CTP ToolExecutionResult with success=True is not an error.
tests/planning/test_backends.py:665
Method
test_ctx_init_fails
Returns False when ctx.initialize returns False.
tests/chat/test_chat_handler_coverage.py:113
Method
test_cumulative_totals
(self)
tests/chat/test_token_tracker.py:45
Method
test_custom_capabilities
Test with custom values.
tests/commands/models/test_server_models.py:140
Method
test_custom_filename_honoured
(self, cmd)
tests/commands/export/test_export_command.py:303
Method
test_custom_max_args
Test with custom max_args parameter.
tests/display/test_formatters.py:97
Method
test_custom_max_len
Test with custom max_len parameter.
tests/display/test_formatters.py:108
Method
test_custom_max_len
Test with custom max_len.
tests/display/test_formatters.py:214
Method
test_custom_max_len
Test with custom max_len.
tests/display/test_formatters.py:289
Method
test_custom_params
Test custom parameter values.
tests/commands/models/test_server_models.py:28
← previous
next →
3,001–3,100 of 6,849, ranked by callers