Write File
file.writeWrite text files to a local project path, creating directories as needed. Use with code.read to modify existing files.
Instructions
Create or overwrite a text file inside a project. Use code.read first when modifying an existing file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | ||
| file | Yes | ||
| content | Yes | ||
| createDirs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| changedFiles | Yes | ||
| stats | Yes |