generate_key
Generate and store a new cryptographic key pair for a key ID, selecting from Ed25519 or ECDSA algorithms to enable local signing without external KMS.
Instructions
Generate and store a new key pair for the given key ID
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": "generate_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo | No | Key algorithm (default: ed25519) | ed25519 |
| keyId | Yes | Unique key identifier |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publicKey | Yes | Generated public key (base64-encoded DER/SPKI) |