get_diff
Retrieve the unified diff for a pull request to review code changes. Provides a truncated diff up to 8 KB for quick inspection.
Instructions
Get the unified diff for a pull request (truncated to 8 KB)
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": {
"repo_slug": "<repo_slug>",
"pr_id": "<pr_id>"
},
"name": "get_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | Pull request ID | |
| repo_slug | Yes | Repository slug |