add_host
Add an SSH host to a personal vault or team so agents can connect through Detour using saved credentials, requesting vault edit access first if needed.
Instructions
Add a host to the person's vault, or to a team (needs vault:edit; in a team, over all its hosts). To use it, request access to it.
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": {
"name": "<name>",
"address": "<address>"
},
"name": "add_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Log in with this key of the vault (its name). Without it, ssh-agent is used. | |
| name | Yes | A name for the host. | |
| port | No | SSH port (default 22). | |
| team | No | The team to add it to (its name); the personal vault if not given. | |
| user | No | The user to log in as (default root). | |
| group | No | The group in the host list. | |
| proxy | No | Reach it through this saved proxy of the vault (its name). | |
| address | Yes | Its address: a name or an IP. |