update_file
Modify file content by performing search and replace operations, supporting exact matches or regex, with optional backup creation for safety.
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 |