file_writer
Write content to files with automatic directory creation, append or overwrite options, and customizable encoding via Swagger MCP Server’s structured API tool.
Instructions
Write content to the specified file path, with support for automatic directory creation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
append | No | Whether to append to an existing file instead of overwriting it | |
content | Yes | Content to be written to the file | |
createDirs | No | Whether to automatically create parent directories if they do not exist | |
encoding | No | File encoding | utf8 |
filePath | Yes | Complete path of the file |