hermosodocs

manage_youtube_caption

Upload, replace or delete a caption track destructive

Area: YOUTUBE CHANNEL SECTIONS + PLAYLIST IMAGES · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool 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

ParameterTypeDescription
actionrequired"upload" | "update" | "delete"upload | update | delete
videoIdstringrequired for upload; strongly recommended for update and delete so the track can be resolved and read back
captionIdstringrequired for update and delete (from list_youtube_captions)
textstringthe caption file body — SRT or WebVTT. Required for upload unless you pass url.
urlstringupload only: a Hermoso-hosted caption file (upload_file returns one) instead of pasting the body as text
languagestringBCP-47 code such as en, es, pt-BR. Required for upload.
namestringa label shown in YouTube’s caption picker
draftbooleantrue keeps the track unpublished while you review it
confirmbooleanrequired to delete
accountstringwhich 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.

All 728 Publishing & scheduling tools · tools.json