phabricator_diff_raw
Retrieve raw diff or patch content for a Differential diff by ID. Resolve a revision to its diff ID with the diff search tool first.
Instructions
Get the raw diff/patch content for a Differential diff by diff ID. Use phabricator_diff_search to find the diff ID from a revision PHID first.
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": {
"diffID": "<diffID>"
},
"name": "phabricator_diff_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diffID | Yes | The diff ID (numeric, e.g., 1392561). Use phabricator_diff_search to find this from a revision. |