Review Context
review_contextGenerate pull request review context from local git diff metadata, optionally adding GitHub PR comments to enrich the raw change context for reviewers.
Instructions
Produce PR review context from local git diff metadata, optionally enriched with GitHub PR comments. Use review_context when you want the raw diff/comment context for a change, not a verdict. Use review_verdict instead for the full impact + review + gate composite, or review_gate for the gate verdict alone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base ref. Defaults to PR base, upstream, origin/main, or main. | |
| head | No | Head ref. Defaults to HEAD. | |
| path | No | Repository path. Defaults to current working directory. | |
| github | No | Ask gh to infer the current branch PR. | |
| number | No | Optional GitHub PR number for gh enrichment. | |
| comment | No | Create or update a sticky GitHub PR comment using gh. This writes to GitHub. | |
| includeMarkdown | No | Return a compact human-readable markdown report instead of the full JSON. Defaults to false. |