get_changed_symbols
Map a git diff to affected symbols (functions, classes, methods) for PR review. Returns JSON with changed symbol details and total count.
Instructions
Map a git diff to affected symbols (functions, classes, methods). For PR review. If "since" is omitted, auto-detects main/master as the base. Requires git. Use for PR review to see which symbols changed. For full branch comparison with risk assessment use compare_branches instead. Read-only. Returns JSON: { changes: [{ symbol_id, name, kind, file, changeType }], total }. Set output_format: "toon" for lossless TOON encoding — cheaper LLM tokens on tabular payloads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Git ref to compare from (SHA, branch, tag). If omitted, auto-detects main/master merge-base | |
| until | Yes | Git ref to compare to (default: HEAD) | |
| include_blast_radius | No | Include blast radius for each changed symbol (default false) | |
| max_blast_depth | No | Max blast radius traversal depth (default 3) | |
| output_format | No | Output format. "json" (default) returns JSON, "markdown" returns LLM-friendly fenced markdown (tool-specific), "toon" returns Token-Oriented Object Notation — 30-60% fewer tokens on tabular data, fully lossless. |