draft_changelog
Group commits between two Git refs by conventional-commit type to draft a changelog, separating feat, fix, docs, and other non-conventional subjects.
Instructions
Commits in from_ref..to_ref grouped by conventional-commit type (feat, fix, docs, ...), with an 'other' section for subjects that do not follow the convention.
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>",
"from_ref": "<from_ref>"
},
"name": "draft_changelog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository alias, see the git-insights://repos resource | |
| to_ref | No | Inclusive end: tag, branch or commit | HEAD |
| from_ref | Yes | Exclusive start: tag, branch or commit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| to_ref | Yes | ||
| from_ref | Yes | ||
| sections | Yes | Non-empty sections in a fixed order | |
| total_commits | Yes |