update_file
Modify specific text within a file using search and replace operations. Supports regex, selective updates, and optional backups for precise file editing.
Instructions
Update specific parts of a file using search and replace
Input Schema
Name | Required | Description | Default |
---|---|---|---|
backup | No | Create backup before updating (.bak extension) | |
path | Yes | File path relative to working directory | |
updates | Yes | Array of search/replace operations |