Share a file
share_fileShare one image or PDF (PNG, JPEG, GIF, WebP, AVIF or PDF, not SVG) as a new site with a viewer and a Download button: without content, returns a link where the user drops their file (for a file the user holds); with name and content (base64, up to 10 MB) it is published at once and the result has its link.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | With content: file name with extension, e.g. menu.pdf | |
| content | No | The file, base64-encoded (no data: prefix) |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | On failure (isError): {code, message} | |
| agent_message | No | ||
| confirm_token | No |