create_release
Creates a product release on SunLicense by uploading built files and publishing it, or returns the CLI command to upload and publish later. Drafts are supported; published versions are refused.
Instructions
Create a release of a product, the version buyers download (Standard). With files (local paths of the built files), it uploads them straight to SunLicense (never through the model), waits for SunLicense's check and publishes the release unless draft is true; buyers can download it at once, so confirm with the user first. Without files it creates a draft and returns the sunlicense releases create command that uploads the files into it and publishes it. A draft of the same version gets the files; a published version is refused.
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": {
"product": "<product>",
"version": "<version>"
},
"name": "create_release"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | upload without publishing: buyers don't see it until it is published | |
| files | No | local paths of the built files buyers download (local CLI server only); read and uploaded to SunLicense, never shown to the model | |
| notes | No | release notes (Markdown) | |
| title | No | a short title buyers see | |
| product | Yes | the product: code, name or id | |
| version | Yes | the release's version, e.g. 1.4.0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| files | Yes | ||
| status | Yes | ||
| product | Yes | ||
| version | Yes | ||
| published | Yes | ||
| releaseId | Yes | ||
| downloadsUrl | Yes | ||
| uploadCommand | No |