Write a workspace file
muse_write_fileWrite a file into the Muse workspace (a file already there is replaced), e.g. a document, data or code for the agent to use: then send its path in files of muse_chat (e.g. "Summarize file_1"). Send text in content, or binary as base64 in contentBase64. Up to 50 MB; a large file can take about a minute. POST /files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Where to write the file, e.g. workspace/your_files/notes.md. | |
| No | The Muse account email. Optional when the API token has one Muse account. | ||
| content | No | The file's text (UTF-8). | |
| contentType | No | The file's MIME type (default: from the extension). | |
| contentBase64 | No | The file's bytes as base64, instead of content. |