# Hermoso: manage_youtube_caption · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/manage_youtube_caption/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / manage_youtube_caption

# `manage_youtube_caption`

Upload, replace or delete a caption track destructive

Area: YOUTUBE CHANNEL SECTIONS + PLAYLIST IMAGES · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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

`action` required `"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](https://hermoso.ai/docs/credits/).

## Related tools

- [list_youtube_captions](https://hermoso.ai/docs/reference/publish/list_youtube_captions/) List (and read) a video’s caption tracks
- [moderate_youtube_comment](https://hermoso.ai/docs/reference/publish/moderate_youtube_comment/) Hide, reject, spam-report or delete a YouTube comment
- [manage_youtube_playlist_image](https://hermoso.ai/docs/reference/publish/manage_youtube_playlist_image/) Custom playlist cover image
- [list_youtube_categories](https://hermoso.ai/docs/reference/publish/list_youtube_categories/) List the video categories you can publish under
- [manage_youtube_channel_section](https://hermoso.ai/docs/reference/publish/manage_youtube_channel_section/) Channel homepage sections
- [google_business_search_keywords](https://hermoso.ai/docs/reference/publish/google_business_search_keywords/) What people searched to find this business
- [list_bluesky_posts](https://hermoso.ai/docs/reference/publish/list_bluesky_posts/) List the brand's own Bluesky posts
- [search_x](https://hermoso.ai/docs/reference/publish/search_x/) Search X (Twitter)
- [x_search_counts](https://hermoso.ai/docs/reference/publish/x_search_counts/) How often a query is posted on X
- [x_trends](https://hermoso.ai/docs/reference/publish/x_trends/) What is trending on X

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
