Verify a licence artefact
license_verifyVerifies a signed .cetlic licence artefact by parsing the envelope, checking Ed25519 signatures and tenant/product expectations, then reconciling stored revocation state read-only.
Instructions
Verify a signed .cetlic licence artefact string: parse the envelope, check the Ed25519 signature against the issuing tenant's registered public keys, check optional tenant/product expectations, then reconcile with the store (an authentic artefact for an unknown licence reports LICENSE_UNKNOWN; a stored state such as REVOKED overrides the artefact's own validity). Use it when an artefact is in hand; use license_status instead when only a licence id is known. The tenant is resolved from the artefact payload, so caller context is optional. Read-only.
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": {
"artefact": "<artefact>"
},
"name": "license_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artefact | Yes | The complete .cetlic artefact string (base64url payload + '.' + base64url signature), exactly as issued. | |
| _tenant_id | No | 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. | |
| product_id | No | Optional: refuse unless the artefact's product_id equals this value. | |
| _principal_id | No | 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. | |
| expected_tenant | No | Optional: refuse unless the artefact's tenant_id equals this value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| payload | No | ||
| license_id | No |