rotate_key
Rotate receipt-signing keys to invalidate all Compliance Receipts after a suspected key leak. Choose to rotate HMAC, Ed25519, or both.
Instructions
Rotate the receipt-signing key material (HMAC and/or Ed25519). Generates fresh keys and INVALIDATES every outstanding Compliance Receipt. Use after a suspected key leak — e.g. the .keyring was ever committed or synced. Optional mode: 'hmac' | 'ed25519' | 'both' (default 'both').
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rotate_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Which key(s) to rotate. Default 'both'. |