Delete Caption Track
youtube_delete_captionPermanently delete a caption track from your YouTube video by providing its caption ID and confirming the irreversible action.
Instructions
Permanently delete a caption track from a YouTube video.
This action is irreversible. You must pass confirm: true explicitly or
the tool will refuse to proceed.
Args
captionId(string, required): The ID of the caption track to delete.confirm(boolean, default false): Must be set totrueto authorize the deletion.
Returns A short confirmation string on success:
Caption track <captionId> deleted successfully.Examples
Delete a track (dry run — will be refused):
captionId="AYtvM..."Delete a track (confirmed):
captionId="AYtvM...", confirm=true
Errors
403: You can only delete captions on your own channel. Check scopes (
youtube.force-ssl).404: Caption track not found.
Refused: If
confirmis nottruethe tool returns an error without calling the API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| captionId | Yes | The ID of the caption track to permanently delete. | |
| confirm | No | Must be true to authorize the deletion. Defaults to false as a safety guard. |