Create Release Tool
create_release_toolCreate a GitHub release, creating its tag if the tag does not exist.
Instructions
Create a GitHub release, creating its tag if the tag does not exist.
Publishing a release (draft=false) fires the repository's
on: release workflows, such as package and image publishing.
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": {
"repo": "<repo>",
"tag_name": "<tag_name>"
},
"name": "create_release_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Release notes (Markdown) | |
| name | No | Release title (default: the tag name) | |
| repo | Yes | Repository name | |
| draft | No | Create an unpublished draft (default: false) | |
| owner | No | Repository owner (defaults to GITHUB_DEFAULT_ORG if unset) | |
| tag_name | Yes | Tag of the release (e.g. "v1.2.0") | |
| prerelease | No | Mark the release as a prerelease (default: false) | |
| target_commitish | No | Branch or commit SHA to tag when the tag does not exist yet (default: the repository's default branch) | |
| generate_release_notes | No | Let GitHub generate the notes, with ``body`` in front of them (default: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||