Release notes draft
release_notes_draftGenerate release notes or structured sections by grouping commits between two refs by conventional-commit type.
Instructions
Group commits between two refs by conventional-commit type (breaking changes, features, fixes, ...) as a Markdown draft, or as structured sections. "from" defaults to the latest tag before "to"; without any tag, all commits up to "to" are used. To draft notes for an existing release, pass its tag as "to" (see list_tags).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "release_notes_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End ref, inclusive. | HEAD |
| from | No | Start ref, exclusive (tag, branch or commit). | |
| repo | No | Repo name or path; defaults to the first configured repo. | |
| format | No | "markdown" for a ready-to-paste draft, "sections" for structured data. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | Start ref (exclusive); null means from the first commit. | |
| repo | Yes | Name of the repository that was queried. | |
| markdown | No | Present when format is "markdown" or "both". | |
| sections | No | Present when format is "sections" or "both". | |
| truncated | Yes | ||
| commitCount | Yes |