write_file
Replace file contents entirely within allowed directories. Ideal for substantial changes or when partial edits fail. Input file path and new content to overwrite existing files.
Instructions
Completely replace file contents. Best for large changes (>20% of file) or when edit_block fails. Use with caution as it will overwrite existing files. Only works within allowed directories.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | ||
path | Yes |