Create SSH Key
hetzner_create_ssh_keyAdd an SSH public key to your Hetzner project to enable secure server access. Provide a name and key content to store credentials for use when creating new servers.
Instructions
Add a new SSH public key to the project for use when creating servers.
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": "hetzner_create_ssh_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the SSH key | |
| labels | No | Labels as key-value pairs | |
| public_key | Yes | SSH public key content (e.g. "ssh-rsa AAAA...") |