add_ssh_key
Adds an SSH public key to a specified system user on a RunCloud server, enabling key-based access for that user.
Instructions
Add SSH key for a system user
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": {
"serverId": "<serverId>",
"userId": "<userId>",
"label": "<label>",
"publicKey": "<publicKey>"
},
"name": "add_ssh_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | SSH key label | |
| userId | Yes | The ID of the system user | |
| serverId | Yes | The ID of the server | |
| publicKey | Yes | SSH public key |