patch_file
Replace an exact substring in a sandboxed workspace file atomically and trigger immediate incremental re-indexing after a successful edit.
Instructions
Atomically patch a sandboxed file in the workspace by replacing an exact substring with new content. Automatically triggers immediate incremental re-indexing (<50ms) upon successful edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| rel_path | Yes | ||
| workspace | No | default | |
| new_string | Yes | ||
| old_string | Yes | ||
| replace_all | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||