download-caption
Download a YouTube caption track to a local file. Provide caption ID and output path, with optional format conversion and translation.
Instructions
Download a caption track to a local file path. Costs 200 quota units.
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": {
"captionId": "<captionId>",
"outputPath": "<outputPath>"
},
"name": "download-caption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Caption format to convert to, e.g. srt, vtt, ttml | |
| language | No | Language to translate the track to | |
| captionId | Yes | Caption track ID | |
| outputPath | Yes | Absolute local path to write the caption file to |