Home / Servers / Cloudflare API / stream_subtitles_captions_upload_captions_or_subtitles

Upload captions or subtitles

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Upload captions or subtitles Uploads the caption or subtitle file to the endpoint for a specific BCP47 language. One caption or… [PUT /accounts/{account_id}/stream/{identifier}/captions/{language}]

Name on the gateway: cloudflare_api__stream_subtitles_captions_upload_captions_or_subtitles · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
identifier requiredstringidentifier parameter
language requiredstringlanguage parameter
file requiredstringThe WebVTT file containing the caption or…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "cloudflare_api__stream_subtitles_captions_upload_captions_or_subtitles",
  "arguments": {
    "account_id": "…",
    "identifier": "…",
    "language": "…",
    "file": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the upload captions or subtitles tool with account_id set to ….

More from Cloudflare API