Github Get Pr Diff
github_get_pr_diffFetches the net unified diff for a specific pull request, capped by max_bytes, and reports total diff size so truncated responses show what was omitted.
Instructions
Fetches the net unified diff of a specific pull request, capped at max_bytes. bytes_total is the whole diff either way, so a truncated reply says what was left behind. See #314 and #514.
Workflow and conventions: github_get_skill('pr-analysis').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_bytes | No | Cap on the patch returned. Pass 0 to learn the size without reading the patch | |
| pr_number | Yes | ||
| repo_name | Yes | ||
| repo_owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | ||
| pr_number | Yes | ||
| truncated | Yes | ||
| bytes_total | Yes | ||
| bytes_returned | Yes |