youtube_upload_caption
Upload .srt or .vtt caption files to an owned YouTube video using its video ID, language, and caption name; OAuth2 authorization is required.
Instructions
Upload a caption file (.srt, .vtt) for an owned video. Requires OAuth2.
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": {
"video_id": "<video_id>",
"language": "<language>",
"name": "<name>",
"caption_file_path": "<caption_file_path>"
},
"name": "youtube_upload_caption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| is_draft | No | ||
| language | Yes | ||
| video_id | Yes | ||
| caption_file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |