review_file
Apply AI code review to a single file in a GitHub pull request by specifying repository, PR number, and filename.
Instructions
Run an AI code review on a single file within a pull request.
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>",
"pull_number": "<pull_number>",
"filename": "<filename>"
},
"name": "review_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| owner | Yes | ||
| filename | Yes | Exact filename as it appears in the PR diff | |
| pull_number | Yes |