analyze_pr
PR review scaffold for a public GitHub PR. Fetches filenames and a 4000-char patch pack, plus a capped live thread. Private repos fail. Precedent from the index. Does not post comments.
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": "analyze_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Alternate to url: owner/repo#n. | |
| url | No | Public GitHub pull request URL (https://github.com/owner/repo/pull/n). |