apply_edits
Batch apply multiple text replacements to a file in one operation, with atomic rollback on failure.
Instructions
Apply a batch of str_replace edits to a single file in one round-trip. Edits applied in order against the running in-memory text; atomic (rolled back in memory if any edit fails).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| edits | Yes | ||
| vault | No | ||
| dry_run | No | ||
| expected_content_hash | No |