Delete Caption
delete_captionPermanently delete a caption track from one of your videos.
Instructions
Permanently delete a caption track from one of your videos.
Without confirm, nothing is deleted and the error describes the track.
Quota: 102 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": {
"video": "<video>",
"language": "<language>"
},
"name": "delete_caption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the track, when the video has several in that language. | |
| video | Yes | Video ID or URL. | |
| confirm | No | The track's ID, passed only after the user has approved deleting this track. | |
| language | Yes | Language of the track, e.g. en or en-US. | |
| my_channel | No | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | Yes | ||
| already_gone | No | Nothing to delete: it didn't exist or was already deleted. |