Start Media Upload
media_upload_startGet a presigned URL for direct file upload (for large files)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileName": "<fileName>",
"contentType": "<contentType>"
},
"name": "media_upload_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | Name of the file to upload | |
| projectId | No | Optional project ID to associate the upload with. UUID string. | |
| contentType | Yes | MIME type (e.g., video/mp4, audio/mp3, image/jpeg, font/woff2, image/svg+xml, application/json) | |
| workspaceId | No | Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uploadInfo | Yes |