save_shared_file
Save files directly from the AI agent into the workspace. Use this to store generated images, PDFs, and text files without external downloads. Provide binary files as base64 encoded strings.
Instructions
Saves a file provided directly by the AI agent into the workspace. Use this to save generated images, PDFs, DOCX, or text files without needing an external URL download. Binary files MUST be provided as base64 encoded strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | The name of the file to save, including the exact extension (e.g., target_image.png, report.pdf). | |
| content | Yes | The raw content of the file. For binary files like images and PDFs, this MUST be a base64 encoded string. | |
| encoding | No | The encoding of the provided content. Use 'base64' for images/documents and 'utf-8' for plain text. Defaults to 'base64'. |