manage_youtube_caption
Upload, replace or delete a caption track destructive
Description
Attach a real subtitle track to one of the connected channel’s videos, replace one, or delete one. Pass the caption file BODY itself as `text` (SRT or WebVTT), not a URL. `language` is required and may not be guessed — YouTube uses it to decide which viewers see the track. A track YouTube generated itself (trackKind ASR) is refused by name: YouTube owns it and it cannot be edited or deleted through any API; to replace it, upload your own track in the same language and YouTube prefers yours. Delete is confirm-gated — viewers with captions on lose them immediately and YouTube stops indexing the video by that text, though it can be re-uploaded if you still have the file. 0 credits. Needs a connected YouTube channel.
Parameters
| Parameter | Type | Description |
|---|---|---|
actionrequired | "upload" | "update" | "delete" | upload | update | delete |
videoId | string | required for upload; strongly recommended for update and delete so the track can be resolved and read back |
captionId | string | required for update and delete (from list_youtube_captions) |
text | string | the caption file body — SRT or WebVTT. Required for upload unless you pass url. |
url | string | upload only: a Hermoso-hosted caption file (upload_file returns one) instead of pasting the body as text |
language | string | BCP-47 code such as en, es, pt-BR. Required for upload. |
name | string | a label shown in YouTube’s caption picker |
draft | boolean | true keeps the track unpublished while you review it |
confirm | boolean | required to delete |
account | string | which connected account: its @handle or id from list_connector_accounts; needed only when several are connected |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/manage_youtube_caption.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_youtube_caption","arguments":{"action":"<one of the listed values>"}}}
CLI
hermoso call manage_youtube_caption --json '{"action":"<one of the listed values>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_youtube_captionsList (and read) a video’s caption tracksmoderate_youtube_commentHide, reject, spam-report or delete a YouTube commentmanage_youtube_playlist_imageCustom playlist cover imagelist_youtube_categoriesList the video categories you can publish undermanage_youtube_channel_sectionChannel homepage sectionsgoogle_business_search_keywordsWhat people searched to find this businesslist_bluesky_postsList the brand's own Bluesky postssearch_xSearch X (Twitter)x_search_countsHow often a query is posted on Xx_trendsWhat is trending on X