Create upload
create_uploadGet presigned storage URLs for a file or a project ZIP (up to 8 GB; a file other than a ZIP no larger than the plan's project size: get_usage's limits.maxProjectBytes, project_too_large past it; a ZIP fails with project_too_large here only when it could not be imported over any head of the workspace, otherwise its import checks it). This is how a picture, video, sound, font or 3D model gets into a project over MCP. Up to 100 MB: PUT exactly sizeBytes bytes to url within 1 hour; command is the ready curl command, with your file's path in place of . Above 100 MB: multipart.parts lists a URL per partSize bytes (the last part holds the rest); PUT each part and keep its ETag response header. Then always call complete_upload. files creates up to 100 uploads in one call, all or none. A sizeBytes that does not fit in the workspace's storage is refused with storage_limit. At most 2,000 unused uploads per workspace (upload_limit). The response's id is the uploadId: pass it once to edit_project, create_project, import_zip, or a replacement's file in render or create_render_batch. The file joins a project only then; an unused upload expires (1 hour, 24 for multipart) and is deleted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Instead of fileName and sizeBytes: one upload per file in one call, such as a picture for each row of a batch. Answered as uploads, in the order sent. Not for a project ZIP. | |
| fileName | No | Must end in a supported extension (get_file_capabilities) or .zip; an edit, or a replacement in a render, uses the upload at a path with the same extension. | |
| sizeBytes | No | The file's exact size in bytes; each file type has its own limit, and the plan's project size caps every upload. | |
| idempotencyKey | No | Makes a retry safe: for 24 hours the same call with the same key returns the uploads the first one created, with fresh URLs, until one is used, deleted or expires. The same key with different arguments fails with idempotency_key_reused; while the first is still running, idempotency_key_in_use. |