youtube_preflight_caption_upload
Validate and preview a caption upload for an owned video before committing, ensuring correct file, language, and format.
Instructions
Validate and preview a caption upload for an owned video.
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>"
},
"name": "youtube_preflight_caption_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Caption track name shown to viewers, up to 150 characters. | |
| 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. |