Add an SSH key
add_ssh_keyAdds an SSH public key (a line from a .pub file) to the account. Needs user: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": {
"public_key": "<public_key>"
},
"name": "add_ssh_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A name for the key | |
| public_key | Yes | The public key line, e.g. ssh-ed25519 AAAA… you@laptop |