rotate_key
Rotate a key pair for a given key ID while preserving its algorithm. Provide the keyId to generate a new key pair without changing the encryption method.
Instructions
Rotate the key pair for the given key ID, preserving the existing algorithm
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": {
"keyId": "<keyId>"
},
"name": "rotate_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyId | Yes | Unique key identifier |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newPublicKey | Yes | New public public key after rotation (base64-encoded DER/SPKI) |