Writefile
writeFileWrite text to a local file in the current working directory, with options to append content and control trailing newline.
Instructions
write text into a local file in the current directory
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | filename. only a local filename or dir/filename is allowed | |
| text | Yes | text to write | |
| append | No | append to the file, default false | |
| newline | No | terminate end of text with newline, default true |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |