get_diff
Retrieve the unified diff for a staged write operation, enabling review of pending changes before application.
Instructions
Show the unified diff for a staged write op.
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": {
"op_id": "<op_id>"
},
"name": "get_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op_id | Yes | ||
| include_content | No | Also return the full new file content (for applying via your own edit tools in propose mode) |