Check hosts
check_hostsCheck live availability of SSH hosts by alias, bypassing the cache. Enable deep mode to test actual login and return detailed failure reasons.
Instructions
Check the availability of specific hosts right now, bypassing the cache.
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": {
"aliases": "<aliases>"
},
"name": "check_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | False — TCP probe of the port ("host is up"); True — an actual login (`ssh ... true`, "key accepted, access granted"), failure reason in detail. | |
| aliases | Yes | Aliases from ~/.ssh/config; an unknown alias gets an unknown status. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |