add_service_ssh_key
Install an SSH public key directly onto a running service for per-server access, distinct from the reinstall key library.
Instructions
Install an SSH public key directly onto a running service (per-server), distinct from add_service_ssh_key_to_library, which registers a key in the server's reinstall-time key library. Requires scope services:write. Plain write — no billing impact, not destructive. service_id from list_services.
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": {
"service_id": "<service_id>",
"public_key": "<public_key>"
},
"name": "add_service_ssh_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional caller-supplied key id. | |
| name | No | Optional label for the key. | |
| public_key | Yes | The SSH public key material to install. | |
| service_id | Yes | Service ID from list_services. |