ctx_changed
Get files and symbols changed since a git ref as JSON, including uncommitted working-tree changes, to focus review or testing on relevant code.
Instructions
Return files and symbols changed since a git reference as JSON, including working-tree changes by default. Use to focus an agent on what changed in a branch or commit range before reviewing or testing. ref is a git ref (e.g. HEAD~5, main, a SHA); omit it to report uncommitted working-tree changes. Only works in git repositories (returns an error otherwise). For a per-symbol semantic diff between two refs use ctx_diff; for a plain list of changed file paths use this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Git ref to diff against, e.g. HEAD, main, HEAD~5, or a commit SHA. Omit to report working-tree (uncommitted) changes. |