briefcheck_pack_review
Assemble an issue, unified diff, and optional test log from local inputs or a GitHub PR into a prompt-injection-framed review bundle with an optional base | new annotated line map.
Instructions
Assemble an issue, unified diff, and optional test log from local inputs or a GitHub PR (with auto-discovered linked issues) into a prompt-injection-framed review bundle with optional base | new annotated line map.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "briefcheck_pack_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | No | GitHub PR reference (`owner/repo#123` or URL). | |
| diff | No | Raw unified diff text when packing locally. | |
| annotate | No | Append an explicit `base | new` annotated diff map (default: true). | |
| git_base | No | Local git base ref when packing locally. | |
| git_head | No | Local git head ref (default: `HEAD`). | |
| repo_dir | No | Optional local repository path for `git_base`. | |
| test_log | No | Optional test log text to include. | |
| issue_text | No | Issue Markdown text (required when not using `pr`, or overrides GitHub issue). | |
| issue_number | No | Explicit GitHub issue number when using `pr`. | |
| include_skill | No | Prepend BriefCheck review instructions (default: false). | |
| include_checks | No | Include head-commit Check Runs summary when fetching from GitHub. | |
| include_comments | No | Include issue comments when fetching from GitHub. |