upload_media_base64
Upload a local image, video, or audio file into Sequencer by passing base64 file contents. This is the MCP-native local-file path when the client can read the file bytes. For large videos, prefer the REST /v1/upload multipart endpoint to avoid MCP payload limits.
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": {
"workspaceId": "<workspaceId>",
"fileName": "<fileName>",
"mimeType": "<mimeType>",
"base64Data": "<base64Data>"
},
"name": "upload_media_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | Original file name, e.g. idle_loop_silent.mp4 | |
| folderId | No | Optional destination folder ID | |
| mimeType | Yes | MIME type, e.g. video/mp4 | |
| base64Data | Yes | Base64-encoded file contents. Data URL prefixes are accepted. | |
| workspaceId | Yes | The workspace ID | |
| idempotencyKey | No | Stable upload/import key. Repeating the same bytes returns the original media without overwriting edits. |