upload_asset_begin
Initiate a chunked upload for large assets to prevent truncation over HTTP transport. Returns an upload ID for sequential chunk and finish calls.
Instructions
Start a chunked asset upload. Use this instead of upload_asset's fileBase64 param for large files over the remote/HTTP transport, where a single large base64 string can get truncated crossing the LLM→tool_call boundary. Flow: upload_asset_begin (once) → upload_asset_chunk (once per chunk, in order) → upload_asset_finish (once). Returns an uploadId that expires after 10 minutes of inactivity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the asset | |
| tags | No | Tags to apply, e.g. ['logo', 'brand'] | |
| sha256 | No | Sha256 hex digest of the original file's decoded bytes. Recommended — enables end-to-end integrity verification at finish time. | |
| brandId | No | Brand ID (defaults to active brand) | |
| fileName | Yes | Original file name including extension, e.g. 'logo.png'. | |
| fileSize | No | Raw decoded byte length of the original file. Recommended — enables truncation/corruption detection at finish time. | |
| mimeType | No | MIME type of the file, e.g. 'image/png' | |
| description | No |