set_youtube_captions
Set or replace subtitles (WebVTT) of a YouTube video for one language. Source: vtt text, an https URL, or the library entry's subtitles (library_slug).
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": "set_youtube_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | https URL of a WebVTT file | |
| vtt | No | Subtitle content as WebVTT text | |
| name | No | track name, default Deutsch/English | |
| language | Yes | e.g. de, en | |
| video_id | Yes | ID of the video | |
| channel_id | No | YouTube channel id (UC…) from list_youtube_channels; optional when only one channel is connected | |
| library_slug | No | Slug of the library entry whose subtitles are used |