Get complete prepared-operation diff
ast_get_operation_previewRetrieve exact unified diffs retained for a prepared operation, optionally filtering to a single affected file by path. Use this to review planned changes before applying them, with secure prepare-to-apply mutation semantics.
Instructions
Retrieves exact unified diffs retained for a prepared operation, optionally one affected file at a time.
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 |