bb_get_diffstat
Retrieve a per-file change summary (diffstat) between commits, showing added and removed lines. Specify a single commit or a range like commit1..commit2.
Instructions
Get diffstat (per-file change summary) between commits. Use a single commit hash or "commit1..commit2".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Filter diffstat to a single file path | |
| spec | Yes | Commit spec: a single commit hash (diffs against parent), or two commits as "commit1..commit2" | |
| topic | No | When true with two-commit spec, produces a 3-dot diff (source vs merge-base) | |
| filter | No | JMESPath expression to filter/transform structured response data. Applied before format conversion. Example: "values[].{name: full_name, lang: language}" — see https://jmespath.org for syntax | |
| repo_slug | Yes | The repository name | |
| workspace | Yes | The workspace or username | |
| output_format | No | Response format: "text" (default, human-readable), "json" (structured JSON), or "toon" (Token-Oriented Object Notation — compact tabular format that reduces LLM token consumption by 30-60%) | |
| ignore_whitespace | No | Ignore whitespace changes |