apply_xml_edits
Apply XML edits to files with dry-run preview and SHA-256 verification for safe, error-free modifications.
Instructions
Store a bounded diff resource, or write with its SHA/match guards and a backup. dry_run=true previews without writing. Set dry_run=false only after inspecting the preview and pass its expected_sha256.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| edits | Yes | ||
| dry_run | No | ||
| expected_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||