edit_file
Replace specific text in a file to fix errors without rewriting the whole file. Use targeted edits to update content efficiently.
Instructions
Edit a file by replacing old_text with new_text. Use this to fix errors instead of rewriting the whole file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| new_text | Yes | ||
| old_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |