Append a chunk to an upload
file_write_chunkAppend the next base64-encoded chunk to an active file upload, sent in strict order with a zero-based sequence index to safely handle retries without duplicate data.
Instructions
Append the next chunk of bytes (base64) to an upload started with file_write_begin. Send chunks strictly in order, one at a time. Pass seq (0-based chunk index) so a resend after a lost response is acknowledged instead of double-appended.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seq | No | 0-based index of this chunk — a resend of an already-staged index is a safe no-op | |
| upload_id | Yes | ||
| data_base64 | Yes | this chunk's bytes, base64-encoded |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | total bytes staged so far | |
| chunks | No | ||
| duplicate | No | ||
| upload_id | Yes |