octopus_write
Save a new file the agent has produced (a report, a summary, generated code, etc.) into Octopus. If path is omitted the file lands in /agent/{session}/ — the convention that keeps agent output separate from user uploads. Provide ONE of content_text (UTF-8) or content_base64 (binary). [requires a signed-in account]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Filename including extension. | |
| path | No | Folder to write into. Defaults to /agent/{session}/. | |
| tags | No | Optional tags. | |
| mime_type | No | Optional. Sniffed from extension if omitted. | |
| content_text | No | UTF-8 content (use for text/markdown/json). Provide exactly ONE of content_text or content_base64. Max 25 MiB. | |
| content_base64 | No | Base64 content (use for binary). Decoded size max 25 MiB. |