on 0633988 help sign in
30 lines 886 B history raw
1Creates or updates files in filesystem for saving/modifying text content.
3<usage>
4- Provide file path to write
5- Include content to write to file
6- Tool creates necessary parent directories automatically
7</usage>
9<features>
10- Creates new files or overwrites existing ones
11- Auto-creates parent directories if missing
12- Checks if file modified since last read for safety
13- Avoids unnecessary writes when content unchanged
14</features>
16<limitations>
17- Read file before writing to avoid conflicts
18- Cannot append (rewrites entire file)
19</limitations>
21<cross_platform>
22- Use forward slashes (/) for compatibility
23</cross_platform>
25<tips>
26- Use View tool first to examine existing files before modifying
27- Use LS tool to verify location when creating new files
28- Combine with Glob/Grep to find and modify multiple files
29- Include descriptive comments when changing existing code
30</tips>