Get complete prepared-operation diff
ast_get_operation_previewRetrieve exact unified diffs for a prepared operation to review changes before applying, optionally for a specific affected file.
Instructions
Retrieves exact unified diffs retained for a prepared operation, optionally one affected file at a time.
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": {
"operation_id": "<operation_id>"
},
"name": "ast_get_operation_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional affected file path to retrieve only its diff. | |
| operation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| plan_hash | Yes | ||
| operation_id | Yes |