issue_license
Issues a new license from a policy to a customer email, returns a masked key, and can email the key; counts toward the plan's license limit.
Instructions
Issue a new license from a policy to a customer. Counts toward the plan's license limit. The answer has the masked key; use reveal_license_key if the user wants the full one. With emailKey the customer gets the key by email, like a license issued in the dashboard: ask the user whether to send it.
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": {
"policy": "<policy>",
"customerEmail": "<customerEmail>"
},
"name": "issue_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | policy id or name (the license template: machines, duration) | |
| product | No | product id, code or name, when the policy name exists in several products | |
| emailKey | No | also email the key to the customer, in the organization's brand (as the dashboard does); ask the user first. Default false | |
| customerName | No | the buyer's name | |
| customerEmail | Yes | the buyer's email address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| issued | Yes | ||
| emailKey | Yes | whether the key was sent to the customer by email |