youtube_upload_caption
Upload an approved caption file to a YouTube video using an approval ID, with no media bytes returned.
Instructions
Upload an approved caption file without returning media bytes.
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": {
"videoId": "<videoId>",
"filePath": "<filePath>",
"mimeType": "<mimeType>",
"language": "<language>",
"name": "<name>",
"approvalId": "<approvalId>"
},
"name": "youtube_upload_caption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Caption track name shown to viewers, up to 150 characters. | |
| confirm | No | Must be true to execute; set it only after youtube_approve approved this exact preview. | |
| isDraft | No | Whether the caption track is a draft that is not shown to viewers. | |
| videoId | Yes | ID of an owned video the caption belongs to. | |
| filePath | Yes | Absolute path to the local caption file. | |
| language | Yes | Caption language code, e.g. en. | |
| mimeType | Yes | Caption file MIME type: application/octet-stream, application/ttml+xml, text/plain or text/vtt. | |
| approvalId | Yes | Approval ID from the youtube_preflight_caption_upload preview, after approving it with youtube_approve. |