Revoke a licence (execute proposal)
license_revokeRevokes a licence permanently by journaling the proposal's reason and marking it revoked; requires a valid proposal, confirm token, and live mandate.
Instructions
Execute a revoke proposal: journal the revocation (with the proposal's reason) and mark the licence revoked. Requires the proposal_id, the confirm token bound to its hash (confirm-revoke-...), and a live mandate covering the product and the revoke operation class. Revocation is final -- there is no un-revoke and licence deletion does not exist. Connected clients see LICENSE_REVOKED at their next check-in and the licence joins the signed revocation list. Returns the licence id, state LICENSE_REVOKED, and the journal receipt.
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": {
"proposal_id": "<proposal_id>",
"confirm_token": "<confirm_token>",
"_tenant_id": "<_tenant_id>",
"_principal_id": "<_principal_id>"
},
"name": "license_revoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _tenant_id | Yes | Tenant the call acts for. The tenant must exist; an unknown tenant is refused with state LICENSE_UNKNOWN. Transport authentication is a deployment concern -- this parameter scopes the call, it does not authenticate it. | |
| proposal_id | Yes | Proposal id returned by the matching propose tool. The proposal must still be in proposed state and belong to the caller's tenant; anything else is refused and logged. | |
| _principal_id | Yes | Acting principal inside the tenant. Principal-gated tools refuse unknown principals and principals of the wrong class; executions (tier T2) additionally require a live, unexpired mandate covering the product and the operation class. | |
| confirm_token | Yes | Confirm token bound to the proposal hash, in the shape confirm-<verb>-<proposal_id>-<first 12 of the proposal hash>. A token bound to any other proposal or hash is refused and logged; the token is the human-confirmation step of the propose -> confirm flow and is single-use. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| receipt | No | ||
| license_id | No |