get_changed_files
Identify files modified, added, or deleted in a branch or commit. Optionally retrieve the unified diff to review changes.
Instructions
Returns a list of files changed since a git ref (default: HEAD~1), grouped by status (added/modified/deleted). Optionally includes the full unified diff. Use this to understand what changed in a branch or commit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_ref | No | Git ref to diff against (branch, tag, or commit SHA). Default: HEAD~1. | |
| include_diff | No | Include the full unified diff output (max 50 KB). Default: false. | |
| file_pattern | No | Glob pattern to filter changed files, e.g. "**/*.ts". Default: all files. |