Write Relay Filesystem File
relay_filesystem_write · Tools · Connections
Write a file on a Relay filesystem mount. Returns bytes written and creation status. Use this to make a direct edit to a file. Avoid when coding and prefer the coding agent instead.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
content | string | Yes | File content |
create_parents | boolean | No | Create parent directories |
encoding | "utf8" | "base64" | No | File content encoding |
mount | string | Yes | Folder (mount) name on that relay, as relay_list shows it |
overwrite | boolean | No | Overwrite existing file |
path | string | Yes | Mount-relative file path |
relay | string | Yes | Relay connection `id` (a ULID) from relay_list |