Revoke signing key
chap.participant.revoke_keyRevoke a signing key to block signatures from a lost or compromised device. Admins can revoke another participant's key; revoked keys are refused thereafter.
Instructions
Revoke a signing key, for example after a device is lost. Signatures presented with it are refused from then on. Revoking another participant's key requires the admin role.
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": {
"workspace": "<workspace>",
"from": "<from>",
"target_uri": "<target_uri>",
"kid": "<kid>"
},
"name": "chap.participant.revoke_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kid | Yes | Key id to revoke. It is marked revoked with a timestamp and a reason, and signatures presented with it are refused from then on. A key id that is unknown is refused with -32071. | |
| from | Yes | Participant URI, e.g. 'human:alice@example.org' or 'agent:bot@local'. | |
| reason | No | Why the key was revoked, e.g. 'laptop lost'. Recorded on the key and in the audit entry. | |
| workspace | Yes | Workspace identifier, e.g. 'wsp_techcorp_support'. | |
| target_uri | Yes | Whose key is being revoked. Revoking another member's key requires the caller to hold the role 'admin'; otherwise the call is refused with -32011. |