write_changelog_draft
Generate a CHANGELOG.md draft from local git history between two refs. Preview changes with dryRun before writing.
Instructions
Write a CHANGELOG.md draft for a version from local git history. Use dryRun to preview. Operates on a local git working tree only (reads history via git log). Does not access remotes or rewrite history.
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": "write_changelog_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Newer ref (default: HEAD). | |
| date | No | ISO date YYYY-MM-DD (default: today). | |
| from | No | Older ref (tag/commit). | |
| dryRun | No | If true, return preview without writing. | |
| version | No | Version label (default: Unreleased). | |
| repoPath | No | Path to local git repo (default: cwd). | |
| outputPath | No | Output file path (default: <repo>/CHANGELOG.md). | |
| prependExisting | No | If true and file exists, prepend new section under # Changelog. |