Upload a video
upload_videoStore an MP4 on this account and return its vid_ id. Pass data_base64. alt is optional. The type is sniffed from the bytes. The limit is 8 MB and 20 seconds. The same bytes on this account return the same video_id. Reference that id on a video block. An https URL is rejected. POST /videos sends those bytes as the raw body, with alt as a query parameter. This does not send a handoff.
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": {
"data_base64": "<data_base64>"
},
"name": "upload_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Short description stored with the video. At most 200 characters. | |
| data_base64 | Yes | Base64-encoded MP4. At most 8 MB and 20 seconds decoded. |