edit_block
Perform precise text replacements in files using defined search-replace blocks. Verify changes automatically after application. Ideal for small, targeted edits under 20% of file size. Supports multiple blocks for separate modifications.
Instructions
Apply surgical text replacements to files. Best for small changes (<20% of file size). Multiple blocks can be used for separate changes. Will verify changes after application. Format: filepath, then <<<<<<< SEARCH, content to find, =======, new content, >>>>>>> REPLACE.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockContent | Yes |