Check Key Is Active
is_key_activeCheck if an Ed25519 public key is authorized for active operations in a RotatableDIDDocument, verifying it against the DID document before use.
Instructions
Check if a public key is currently authorized for active operations in a DID document. SDK convenience check. Gateway enforcement is authoritative.
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": {
"did_document": "<did_document>",
"public_key": "<public_key>"
},
"name": "is_key_active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public_key | Yes | Hex-encoded Ed25519 public key to check | |
| did_document | Yes | RotatableDIDDocument JSON object |