youtube_preflight_caption_update
Validate and preview an owned YouTube caption update before applying changes, checking the video ID, caption file, language, MIME type, and track details.
Instructions
Validate and preview an owned caption update.
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>",
"captionId": "<captionId>"
},
"name": "youtube_preflight_caption_update"
}
}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. | |
| captionId | Yes | Caption track ID, from youtube_list_caption_tracks. |