Add an SSH key
add_ssh_keySaves a public key on the account so new machines can be reached without a password. Scope: sshkeys.write.
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>",
"public_key": "<public_key>"
},
"name": "add_ssh_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label to recognise the key by, e.g. laptop. | |
| public_key | Yes | OpenSSH public key, e.g. ssh-ed25519 AAAA… user@host. |