msf_file_write
Writes text or base64-encoded binary to a local file at a chosen byte offset, creating missing directories and files, and supports successive chunk writes to build large resource scripts and modules.
Instructions
Write text or {$binary: base64} at a local file byte offset.
Creates missing parent directories and files. truncate=true clears an existing file first; use only on the first chunk when replacing a file. Supports arbitrary-sized resource scripts, modules, and import artifacts by writing successive chunks at next_offset. Paths are local to the MCP host.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| path | Yes | ||
| offset | No | ||
| truncate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||