Write titles, description, chapters and tags
generate_metadataGenerate YouTube metadata from a transcript, captions, text, or local file—titles, chapters, tags, hashtags, pinned comment, and thumbnail text—checked against YouTube limits.
Instructions
Gets the transcript with timestamps (from text you pass, a .srt/.vtt/.txt file, an uploaded video’s captions, or by transcribing a local file). When an AI writing model is configured (Azure OpenAI, OpenAI…), it returns a finished draft: 3 titles, description with chapters, tags, hashtags, pinned comment and thumbnail text, already merged with the template and checked against YouTube’s limits. Otherwise (or with draft: false) it returns a brief for you to write from. Show the draft to the user before using it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | Have the configured AI model write the metadata (default: yes when one is configured). | |
| notes | No | Anything else: audience, links to include, tone. | |
| format | No | video | |
| channel | No | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. | |
| language | No | Language to write the metadata in. | |
| template | No | ||
| video_id | No | Use the captions of this video on your channel. | |
| file_path | No | Transcribe this local video first (needs transcription configured). | |
| transcript | No | Transcript or notes as plain text. | |
| transcript_path | No | .srt, .vtt or .txt file on this computer. |