Host parameters
get_hostRetrieve SSH connection details for a host alias from ~/.ssh/config, including hostname, user, port, and jump host.
Instructions
Parameters of a single host as ssh sees them: hostname, user, port, jump host.
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": {
"alias": "<alias>"
},
"name": "get_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | Alias from ~/.ssh/config. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| user | Yes | ||
| alias | Yes | ||
| hostname | Yes | ||
| proxyjump | Yes | jump host alias; empty if the connection is direct |