Issue a licence (execute proposal)
license_issueExecutes a confirmed proposal to mint a signed .cetlic licence, journaling issuance before release and returning the artefact, hash, and receipt.
Instructions
Execute an issue proposal and mint the licence: the signed .cetlic artefact is created and the issuance is written to the tenant journal BEFORE the artefact is returned (journal-before-release). Requires the proposal_id and the confirm token bound to its hash, plus a live mandate held by the caller covering the product and the issue operation class. Returns the licence id, the artefact string, its hash, the payload, and the journal receipt. A proposal executes exactly once. This is the only path that creates licences -- there is no unjournalled bulk issue.
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_issue"
}
}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 |
|---|---|---|---|
| payload | No | ||
| receipt | No | ||
| artefact | No | ||
| license_id | No | ||
| artefact_hash | No |