ssh_delete_host
Deletes an SSH host and its stored credentials using the expected host version to prevent stale or conflicting removals.
Instructions
Delete a host and its credentials using expectedVersion. New operations in all clients fail afterward; already-started commands are not forcibly interrupted. Referenced jump hosts cannot be deleted. cleanupPending:true means credential cleanup must be retried by a later management operation.
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": {
"hostId": "<hostId>",
"expectedVersion": "<expectedVersion>"
},
"name": "ssh_delete_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostId | Yes | Stable ID from ssh_list_hosts | |
| expectedVersion | Yes | Current host version from ssh_list_hosts; stale writes return HOST_CONFLICT |