update-caption
Update a YouTube caption track's draft status or replace its file from a local path.
Instructions
Update a caption track's draft status, optionally re-uploading its file from a local path. Costs 450 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>"
},
"name": "update-caption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isDraft | No | Whether the track is unpublished | |
| filePath | No | Absolute local path to replace the track's content | |
| captionId | Yes | Caption track ID |