host_add
Save SSH host configurations (alias, host, credentials) to enable quick reconnection without re-entering details.
Instructions
Save a host configuration (alias, host, user, password/key) for quick reuse.
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>",
"host": "<host>"
},
"name": "host_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | IP or hostname | |
| port | No | SSH port (default 22) | |
| user | No | SSH username (default root) | |
| alias | Yes | Short name for this host | |
| key_file | No | Path to SSH private key file | |
| password | No | SSH password | |
| key_content | No | SSH private key content as string |