api_github_pr_review
Read an authorized GitHub pull request diff, then perform structured engineering review with customer-funded AI to identify concrete code issues, file-level evidence and relevant tests. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>",
"pr_number": "<pr_number>"
},
"name": "api_github_pr_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository slug | |
| owner | Yes | GitHub repository owner | |
| pr_number | Yes | Pull request number; GitHub OAuth in X-Provider-Token, model key in X-Provider-Key |