test_connection
Verifies SSH server connectivity by attempting a connection and reporting success or failure with latency, so you can confirm reachability before running commands.
Instructions
Test connectivity to an SSH server.
Attempts to establish an SSH connection and reports success/failure with latency.
Parameters:
connection: Name of the connection to test (from list_connections)
Example usage: Verify a server is reachable before running commands.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connection": "<connection>"
},
"name": "test_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes | Name of the connection to test |