get_file_diff
Retrieve the complete parsed diff for a single file in a pull request, including every hunk with added/deleted/context lines and line numbers, to read exact code changes for accurate tour narration.
Instructions
Return the full parsed diff for one changed file in the PR: every hunk with every line (kind add/del/ctx, old/new line numbers, text). Use this to read the actual code changes so your show_step narration is accurate.
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": {
"pr_url": "<pr_url>",
"path": "<path>"
},
"name": "get_file_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pr_url | Yes |