list_changes
Lists changed functions in working files against a Git ref so you can see what a diff touches before review or commit, including uncommitted edits.
Instructions
Lists the functions changed in the working files against a git ref (HEAD by default): one line per changed file and one per changed function, with its line. Use it before a review or a commit, to see what a diff really touches; then use find_usages on a changed function to see who uses it. ref is any git ref (a branch, a tag, a commit, HEAD~3); the files on disk are compared with it, uncommitted edits included. It does not compare two commits with each other, and it lists functions, not other lines. Needs a git repository; when nothing changed it says so in one line. A long list stops at 200 items unless all is true.
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": "list_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | List everything instead of stopping at 200 items. | |
| ref | No | Git ref, e.g. HEAD~3 or main. | HEAD |