Propose revoking a licence
license_revoke_proposeCreate a proposal to revoke an existing licence with a journalled reason. Revocation applies only when the proposal is executed, giving tenant owners and issuers a review step before clients see it at check-in.
Instructions
Create a proposal to revoke an existing licence, with a reason that will be journalled at execution. Validates that the licence exists (unknown ids fail with LICENSE_UNKNOWN). Caller must be tenant_owner or issuer. The proposal alone revokes nothing: revocation happens only when license_revoke executes it, and connected clients then see the revocation at their next check-in. Each call creates a fresh proposal.
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": {
"license_id": "<license_id>",
"_tenant_id": "<_tenant_id>",
"_principal_id": "<_principal_id>"
},
"name": "license_revoke_propose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason recorded in the journal at revocation (for example a refund or chargeback reference). | |
| _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. | |
| license_id | Yes | Licence to revoke (required). | |
| _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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| payload | No | ||
| proposal_id | No | ||
| proposal_hash | No | ||
| confirm_token_shape | No |