get_file_patch
Retrieve a textual patch for a single file between two project revisions, making it easier to review or apply specific changes.
Instructions
Get a textual patch for one file between two project revisions.
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": {
"project_id": "<project_id>",
"path": "<path>",
"base_revision": "<base_revision>",
"head_revision": "<head_revision>"
},
"name": "get_file_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| project_id | Yes | ||
| base_revision | Yes | ||
| head_revision | Yes |