create_ssh_key
Creates a new SSH key in Hetzner Cloud from a name and public key, trimming leading whitespace so the API accepts the input.
Instructions
Create a new SSH key (public_key is trimmed; the API rejects leading whitespace)
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": "create_ssh_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| labels | No | ||
| public_key | Yes |