create_keypair
Create a Nova keypair for OpenStack compute access: import an existing public key or generate a new keypair, with the private key returned only once at creation.
Instructions
Create a Nova keypair. A generated private key is returned once.
Service: Nova (compute). Mutates state. Pass public_key to import an existing key (no private key is returned). Otherwise Nova generates a keypair and the private key is included only in this response. It is not logged.
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>"
},
"name": "create_keypair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| key_type | No | ssh | |
| public_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||