Upload File (small, inline)
upload_fileStore a small file in the user's oriiion account by passing its bytes inline as base64, and get back a permanent URL for the post tools. HARD LIMIT 1MB — the whole file travels as tool-call text, so this is only for things like a logo or a one-page PDF. For anything bigger (video especially): create_media_upload_url → PUT the bytes → finalize_media_upload if you can make HTTP requests; import_media_from_url if the file is at a public link; otherwise create_upload_link. Clients that hold the raw API key may also POST up to 4MB to https://oriiion.ai/api/mcp/upload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | Images only: crop to 1080x1350 portrait for social posts. Leave false to keep the original framing. | |
| filename | Yes | Original filename including extension, e.g. 'logo.png' | |
| contentBase64 | Yes | The file contents, base64-encoded (a data: URL prefix is accepted and stripped) |