review_pr_with_prompt
Retrieve formatted pull request details and review instructions to generate a comprehensive AI code review.
Instructions
Get PR context and review prompt for AI-powered code review. Returns formatted PR data and review guidelines that can be used with an LLM to generate a comprehensive review. The LLM can then use submit_pr_review to submit the review.
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>",
"prNumber": "<prNumber>"
},
"name": "review_pr_with_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner/organization | |
| prNumber | Yes | Pull request number | |
| customPrompt | No | Optional custom review prompt. If not provided, uses default PR review guidelines. |