create_release
Create a draft release of a product (version, title, notes) for buyers to download once it has files and is published (Standard). This server can't read files from the user's computer: it returns the sunlicense releases create command that uploads the built files into the draft and publishes it (run it where the build is), and the Downloads tab, where the user can upload and publish by hand.
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 |