youtube-channel-mcp
v1.1.0MCP server to run and grow your whole YouTube channel from Claude, Hermes, Cursor, Codex and any MCP client: uploads, scheduling, A/B tests, analytics, SEO…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
auth_status Connection status
Show whether Google OAuth is configured, which YouTube channels are connected (and whether their sign-in is healthy), the default channel, today’s quota use, and known project limitations. Call this first in a new conversation.
connect_channel Connect a YouTube channel
Start Google sign-in to connect (or reconnect) a YouTube channel. Opens the browser on this computer and returns the sign-in link; the user picks the Google account and channel (brand accounts work). Waits up to wait_seconds for them to finish.
| Parameter | Type | Description |
|---|---|---|
open_browser | boolean | |
wait_seconds | integer | How long to wait for the sign-in to finish before returning. |
list_channels List connected channels
List the YouTube channels connected to this server.
set_default_channel Set the default channel
Choose which connected channel is used when a tool call does not name one.
| Parameter | Type | Description |
|---|---|---|
channel * | string | Channel ID, @handle or name. |
disconnect_channel Disconnect a channel
Remove a connected channel and revoke this app’s Google access to it. Needs the user’s confirmation.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
upload_video Upload a video
Upload a video file from this computer (file_path) or a public URL to YouTube with a resumable, checkpointed upload that survives network drops and restarts. Optionally schedule it (publish_at), set a thumbnail, add it to playlists and attach captions in the same call. Runs in the background: returns a job_id right away (or the finished video if it completes within wait_seconds). Poll get_upload_status. Private uploads start immediately; public, unlisted and scheduled uploads need the user’s confirmation first. Tip: write metadata first (generate_metadata, then preview_metadata).
| Parameter | Type | Description |
|---|---|---|
title * | string | Video title (max 100 characters; about 70 show on mobile). |
ab_test | object | Start an A/B test the day after the video goes live (needs public, unlisted or publish_at). Variant i pairs titles[i] with thumbnail_paths[i]. |
captions_language | string | Captions language, e.g. "en". Defaults to default_audio_language or "en". |
captions_path | string | .srt or .vtt captions file to attach. |
category_id | string | YouTube category id, e.g. 22 People & Blogs, 27 Education, 28 Science & Technology. See list_categories. |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
contains_synthetic_media | boolean | Altered or synthetic content disclosure: true if realistic content was made or altered with AI. |
create_missing_playlists | boolean | Create (private) playlists named in `playlists` that do not exist yet. |
default_audio_language | string | Spoken language, e.g. "en", "hi". |
default_language | string | Language of title/description, e.g. "en". |
description | string | Description. Template header/footer/hashtags are added automatically. |
embeddable | boolean | |
file_path | string | Absolute path to the video on this computer, e.g. ~/Videos/recap.mp4. |
has_paid_product_placement | boolean | Paid promotion disclosure: true if the video contains paid product placement, sponsorship or endorsement. |
license | string | |
made_for_kids | boolean | COPPA: is this video made for kids? Defaults to false (or the template value). |
notify_subscribers | boolean | |
playlists | array | Playlist ids or exact names to add the video to. |
privacy | string | private (default), unlisted or public. |
publish_at | string | Schedule: ISO 8601 date-time when the video goes public. Uploads as private until then. |
recording_date | string | ISO date the video was recorded. |
tags | array | Tags (total under 500 characters). |
template | string | Template name from list_templates (adds title format, footer, tags, hashtags, playlists). |
thumbnail_path | string | JPG/PNG up to 2 MB to set as the custom thumbnail after upload. |
url | string | Public http(s) URL to download the video from instead of a file. |
wait_seconds | integer | Wait this long for the upload before returning the job status. |
get_upload_status Upload and processing status
Status of an upload job (progress, errors, resulting video) and/or a video’s YouTube processing state (processing, failed, rejected), plus a check for the "locked to private" restriction. Can wait for changes.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
job_id | string | |
video_id | string | |
wait_seconds | integer | Wait up to this long for the job to change state. |
list_uploads List upload jobs
Recent upload jobs from this computer, newest first, with progress and results.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
status | string |
cancel_upload Cancel an upload
Stop an upload job that has not finished. It can be resumed later with resume_upload.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
resume_upload Resume an upload
Resume a stopped, failed or cancelled upload from the last byte YouTube confirmed (for example after a quota reset or reconnecting the channel). Network drops and quota resets are also retried automatically.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
wait_seconds | integer |
list_my_videos List channel videos
List videos on the channel, newest first (including private, unlisted and scheduled ones), with privacy, schedule, duration and view counts. Paginate with page_token.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
max_results | integer | |
page_token | string | |
privacy | string | Only return videos with this privacy (filters the current page). |
query | string | Only return videos whose title contains this text (filters the current page). |
get_video Get video details
Full details of one video: metadata, privacy and schedule, processing state, duration, captions flag and statistics.
| Parameter | Type | Description |
|---|---|---|
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
update_video Edit video metadata
Change a video’s title, description, tags, category, languages, audience and other settings. Only the fields you pass change. Optionally apply a template to the fields you pass (title format; footer and hashtags when you pass description; template tags when you pass tags). Changing visibility to public/unlisted or scheduling needs the user’s confirmation (or use set_visibility).
| Parameter | Type | Description |
|---|---|---|
video_id * | string | |
category_id | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
contains_synthetic_media | boolean | |
default_audio_language | string | |
default_language | string | |
description | string | |
embeddable | boolean | |
has_paid_product_placement | boolean | Paid promotion disclosure. |
license | string | |
made_for_kids | boolean | |
privacy | string | |
public_stats_viewable | boolean | |
publish_at | string | ISO 8601 date-time to schedule publishing (keeps the video private until then). |
tags | array | |
template | string | Apply this template to the title/description/tags given here. |
title | string |
set_visibility Publish, unlist, hide or schedule
Change who can see a video: private, unlisted or public, or schedule it with publish_at. Anything other than private needs the user’s confirmation.
| Parameter | Type | Description |
|---|---|---|
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
privacy | string | |
publish_at | string | ISO 8601 date-time to go public; the video stays private until then. |
delete_video Delete a video
Permanently delete a video from YouTube. Cannot be undone. Always needs the user’s confirmation.
| Parameter | Type | Description |
|---|---|---|
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
set_thumbnail Set custom thumbnail
Upload a JPG or PNG (max 2 MB, ideally 1280x720) from this computer as the video’s thumbnail. The channel must be phone-verified.
| Parameter | Type | Description |
|---|---|---|
image_path * | string | Absolute path to the image. |
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
set_video_localizations Translate title and description
Add or update the title and description shown to viewers in other languages, e.g. {"hi": {"title": "...", "description": "..."}}. Merged with existing translations. The video needs a default_language set (update_video).
| Parameter | Type | Description |
|---|---|---|
localizations * | object | |
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
remove_languages | array |
list_categories List video categories
YouTube video categories you can assign (id and name) for a region.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
region_code | string |
list_playlists List playlists
All playlists on the channel with id, title, privacy and video count.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
create_playlist Create a playlist
Create a new playlist on the channel.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
description | string | |
privacy | string |
add_to_playlist Add a video to a playlist
Add a video to a playlist by playlist id or exact title. Optionally at a position (0 = first).
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Playlist id (PL...) or exact title. |
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
create_if_missing | boolean | Create a private playlist with this title if none exists. |
position | integer |
remove_from_playlist Remove a video from a playlist
Remove a video from a playlist (the video itself is not deleted).
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Playlist id or exact title. |
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
update_playlist Edit a playlist
Rename a playlist, change its description or privacy. Making it public or unlisted needs the user’s confirmation.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Playlist id or exact title. |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
description | string | |
privacy | string | |
title | string |
delete_playlist Delete a playlist
Delete a playlist (the videos in it are not deleted). Needs the user’s confirmation.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Playlist id or exact title. |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
move_in_playlist Reorder a playlist
Move a video to a new position in a playlist (0 = first). Works for playlists sorted manually.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | |
position * | integer | |
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
list_playlist_items List videos in a playlist
Videos in a playlist, in order.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Playlist id or exact title. |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
max_results | integer | |
page_token | string |
list_captions List caption tracks
Caption tracks on a video (language, name, auto-generated or uploaded, draft).
| Parameter | Type | Description |
|---|---|---|
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
upload_captions Upload captions
Add a captions track (.srt, .vtt or other YouTube-supported format) to a video, from a file on this computer or inline content.
| Parameter | Type | Description |
|---|---|---|
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
content | string | Caption file contents, e.g. SRT text. |
file_path | string | |
is_draft | boolean | |
language | string | BCP-47 language, e.g. "en", "hi", "es". |
name | string | Track name shown to viewers; usually empty. |
replace_existing | boolean | Overwrite an existing uploaded track with the same language and name (default: add a new track). |
delete_captions Delete a caption track
Delete an uploaded caption track (see list_captions for ids). Needs the user’s confirmation.
| Parameter | Type | Description |
|---|---|---|
caption_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
download_captions Download captions
Download a caption track of your own video as SRT (prefers uploaded tracks, falls back to auto-generated). Costs 250 quota units.
| Parameter | Type | Description |
|---|---|---|
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
language | string |
transcribe_video Transcribe a local video
Transcribe a video file on this computer with any OpenAI-compatible speech-to-text API (needs ffmpeg and a configured key). Saves an .srt you can pass to upload_video or upload_captions, and returns a timestamped transcript for writing metadata and chapters.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
language | string | Spoken language hint, e.g. "en". |
generate_metadata Write titles, description, chapters and tags
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.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
draft | boolean | Have the configured AI model write the metadata (default: yes when one is configured). |
file_path | string | Transcribe this local video first (needs transcription configured). |
format | string | |
language | string | Language to write the metadata in. |
notes | string | Anything else: audience, links to include, tone. |
template | string | |
transcript | string | Transcript or notes as plain text. |
transcript_path | string | .srt, .vtt or .txt file on this computer. |
video_id | string | Use the captions of this video on your channel. |
preview_metadata Preview final metadata
Show exactly what would be sent to YouTube (title, description, tags, playlists) after applying a template, check it against YouTube’s limits and chapter rules, and score its SEO/packaging (0-100 with fixes). No API call, no quota.
| Parameter | Type | Description |
|---|---|---|
title * | string | Video title (max 100 characters; about 70 show on mobile). |
category_id | string | YouTube category id, e.g. 22 People & Blogs, 27 Education, 28 Science & Technology. See list_categories. |
contains_synthetic_media | boolean | Altered or synthetic content disclosure: true if realistic content was made or altered with AI. |
default_audio_language | string | Spoken language, e.g. "en", "hi". |
default_language | string | Language of title/description, e.g. "en". |
description | string | Description. Template header/footer/hashtags are added automatically. |
duration_seconds | number | Video length, so the SEO score can check chapters. |
embeddable | boolean | |
has_paid_product_placement | boolean | Paid promotion disclosure: true if the video contains paid product placement, sponsorship or endorsement. |
keyword | string | Main search phrase, for the SEO score. |
license | string | |
made_for_kids | boolean | COPPA: is this video made for kids? Defaults to false (or the template value). |
tags | array | Tags (total under 500 characters). |
template | string | Template name from list_templates (adds title format, footer, tags, hashtags, playlists). |
list_templates List templates
Metadata templates (title format, description footer, default tags, hashtags, category, playlists, voice guidance) available for uploads.
save_template Save a template
Create or replace a metadata template, saved as JSON in the templates folder. Use {title} in title_format. `extends` inherits another template; tags and hashtags combine.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
category_id | string | |
default_audio_language | string | |
default_language | string | |
description | string | |
description_footer | string | |
description_header | string | |
embeddable | boolean | |
extends | string | |
guidance | string | |
hashtags | array | |
license | string | |
made_for_kids | boolean | |
playlists | array | |
tags | array | |
title_format | string |
delete_template Delete a template
Delete a saved template file.
| Parameter | Type | Description |
|---|---|---|
name * | string |
quota_status Quota status
Estimated YouTube API quota used today (units and uploads) for this Google Cloud project, and when it resets (midnight Pacific Time).
get_channel Channel profile and stats
The channel’s title, handle, description, keywords, country, default language, trailer, subscriber/view/video counts, banner and settings.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
update_channel Edit channel profile
Change the channel description, keywords, country, default language or the trailer shown to non-subscribers. Only the fields you pass change. These are public, so the user confirms first. (The channel name and handle can only be changed in YouTube Studio.)
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
country | string | ISO country code, e.g. IN, US. |
default_language | string | e.g. "en". |
description | string | |
keywords | string | Space-separated; wrap multi-word keywords in quotes, e.g. hackathon "startup India". |
localizations | object | Channel title/description per language, e.g. {"hi": {"description": "..."}}. Merged with existing ones. |
unsubscribed_trailer | string | Video id to show non-subscribers as the channel trailer. |
set_channel_banner Set channel banner
Upload a channel banner (JPG/PNG, 16:9, at least 2048x1152, ideally 2560x1440, max 6 MB). Public, so the user confirms first.
| Parameter | Type | Description |
|---|---|---|
image_path * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
set_watermark Set or remove the video watermark
Set the subscribe watermark shown on all channel videos (square JPG/PNG, at least 150x150, max 1 MB), or remove it with remove: true.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
image_path | string | |
offset_seconds | integer | |
remove | boolean | |
show | string | entire_video, the last 15 seconds (end), or from offset_seconds (custom). |
list_comments List comments
Comment threads on one video, or across the whole channel (newest first). Filter by moderation state (published, held_for_review, likely_spam) or search text. Includes replies.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
max_results | integer | |
order | string | |
page_token | string | |
search | string | |
status | string | |
video_id | string | Omit for comments across all channel videos. |
reply_to_comment Reply or comment as the channel
Post a public reply to a comment (comment_id = the top-level comment or thread id) or a new top-level comment on a video (video_id). Posts publicly as the channel, so the user confirms the exact text first.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
comment_id | string | |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
video_id | string |
moderate_comments Moderate comments
Publish held comments, hold comments for review, or remove (reject) them; optionally ban the author from commenting on the channel. Removing or banning needs the user’s confirmation.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
comment_ids * | array | |
ban_author | boolean | Only with remove: also hide this person’s future comments. |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
delete_comment Delete the channel’s own comment
Delete a comment or reply that the channel itself wrote (other people’s comments are removed with moderate_comments). Needs the user’s confirmation.
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
get_analytics Channel and video analytics
YouTube Analytics for the channel or one video. Reports: overview (views, watch time, average view duration, subscribers gained/lost, likes, comments, shares), daily (trend by day), top_videos (best performers with titles), traffic_sources, search_terms (YouTube search queries), geography, devices, demographics (age/gender), retention (audience retention curve, needs video_id), subscribed_status, or custom (your own metrics/dimensions). Defaults to the last 28 days. Data lags about 2 days.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
dimensions | string | custom only: e.g. day,country. |
end_date | string | YYYY-MM-DD; default today. |
filters | string | custom only: e.g. country==IN;video==abc. |
max_results | integer | |
metrics | string | custom only: comma-separated metrics, e.g. views,likes,cardClickRate. |
report | string | |
sort | string | |
start_date | string | YYYY-MM-DD; default 28 days before end_date. |
video_id | string | Limit the report to one video. |
ai_status AI providers and models
Which AI providers are connected (Claude, OpenAI, Azure OpenAI, Gemini, OpenRouter, Groq, Ollama, custom) and which model each job uses: text (writing, analysis), vision (judging thumbnails), image (making thumbnails), transcribe. Keys are never shown.
set_ai_models Choose AI models
Pick which connected provider and model handle each job, as "provider:model" (Azure: "azure:<deployment>"), e.g. text "anthropic:claude-opus-5-5", image "openai:gpt-image-2", transcribe "groq:whisper-large-v3". Pass null to go back to the automatic choice.
| Parameter | Type | Description |
|---|---|---|
effort | string | Reasoning effort for Claude (default medium). |
image | string | null | |
text | string | null | |
transcribe | string | null | |
vision | string | null |
analyze_video Diagnose a video and suggest fixes
Full performance picture for one video: views vs this channel's usual (outlier score), watch time, average view percentage, hook retention at 30 s and the retention curve, traffic sources, YouTube search terms, subscribers gained, SEO score. With an AI model connected it adds a diagnosis: what's working, what's hurting, title variants and thumbnail ideas ready to A/B test, and next actions.
| Parameter | Type | Description |
|---|---|---|
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
diagnose | boolean | Ask the AI model for a diagnosis when one is connected. |
template | string | Template whose voice guidance the suggestions should follow. |
triage_comments Sort comments and draft replies
Reads recent comments (one video or the whole channel) and returns sentiment, themes, unanswered questions with draft replies, comments worth a reply, spam or abuse to moderate, and video ideas the audience is asking for. Drafts only: nothing is posted. Without an AI model it returns the comments for you to triage.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
include_held | boolean | Also include comments held for review. |
max_comments | integer | |
video_id | string |
translate_video_metadata Draft translated titles and descriptions
Drafts the video's title and description in other languages so it can reach viewers who search in them. Returns drafts only; apply them with set_video_localizations after the user approves.
| Parameter | Type | Description |
|---|---|---|
languages * | array | BCP-47 codes, e.g. ["hi", "es", "pt-BR"] |
video_id * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
suggest_shorts Find Shorts in a long video
Finds the moments in a long video that work as standalone Shorts (hook in the first seconds, one idea, a payoff) with start/end times, hook line, title and a score. Use a local file (transcribed), an uploaded video's captions, or a transcript file. Then cut them with create_short.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
count | integer | |
file_path | string | |
max_seconds | integer | |
transcript_path | string | |
video_id | string |
create_short Cut a vertical Short
Cuts start-end (seconds) from a local video into a vertical 1080x1920 MP4 for YouTube Shorts (max 180 s). layout crop fills the frame from the centre (talking heads); blur shows the whole frame over a blurred fill; original keeps the aspect ratio. Needs ffmpeg.
| Parameter | Type | Description |
|---|---|---|
end * | number | |
file_path * | string | |
start * | number | |
layout | string | |
output_path | string | Where to save; default is the shorts folder in the data directory. |
overwrite | boolean | Replace output_path if it already exists. |
extract_frames Grab stills for thumbnails
Saves evenly spaced stills (or stills at given seconds) from a local video as 1280-wide JPGs, as thumbnail candidates or as references for generate_thumbnails. Needs ffmpeg.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
at_seconds | array | |
count | integer |
generate_thumbnails Design and generate thumbnails
Designs thumbnail concepts for a title (text overlay + image prompt) with the text model, then renders them with the image model (OpenAI gpt-image, Azure OpenAI image deployments, Gemini image). Optionally builds on a video frame. Saves 1280x720 JPGs under 2 MB, ready for set_thumbnail or create_ab_test. Without an image model it returns the concepts only.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
context | string | What the video is about, the subject, the audience. |
count | integer | |
reference_image | string | Path to a frame or photo to build on. |
style | string | e.g. "bold, high contrast, face on the left, dark background" |
critique_thumbnails Judge and rank thumbnails
Scores 1-4 thumbnail images as a phone viewer sees them (readability at small size, emotion, subject clarity, fit with the title), ranks them and lists fixes. Needs a vision model (Claude, OpenAI, Gemini, Azure).
| Parameter | Type | Description |
|---|---|---|
image_paths * | array | |
title * | string |
content_ideas What to make next
Next video ideas grounded in this channel's data: its outliers (what over-performed vs its usual), underperformers, and optionally a topic to research. With an AI model it returns ideas with angle, why now, thumbnail concept and confidence; otherwise the data for you to reason from.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
count | integer | |
focus | string | A theme or audience to focus on. |
template | string |
create_ab_test A/B test titles, thumbnails or descriptions
Tests 1-3 challenger versions of a live video against its current version (A). The server rotates which version is live one full day at a time (Pacific days, matching YouTube Analytics), in balanced random order so weekdays even out, then compares daily views, watch time, average view percentage, subscribers or engagement, adjusting for the video's natural decline in daily views, with a significance test. At the end it restores A, waits ~3 days for analytics to land, and (if auto_apply_winner) puts a significant winner live. YouTube Studio's own Test & Compare (with impressions click-through r…
| Parameter | Type | Description |
|---|---|---|
variants * | array | Challengers B, C, D. Fields left out stay as in A. |
video_id * | string | |
auto_apply_winner | boolean | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
days | integer | Test length; at least 3 days per version. |
metric | string | What decides the winner. |
original_thumbnail_path | string | The current thumbnail file (needed for thumbnail tests when YouTube has no 1280x720 copy of it). |
start | string | "tomorrow" (recommended: full clean days), "today", or YYYY-MM-DD (Pacific). |
list_ab_tests List A/B tests
A/B tests with their status (scheduled, running, collecting results, completed, stopped), live variant and winner.
| Parameter | Type | Description |
|---|---|---|
status | string |
get_ab_test A/B test details and results
Schedule, live variant and results so far (per-variant daily averages, lift vs the original, p-values, verdict). Results become reliable once every version has 3+ clean days; analytics lag about 2 days.
| Parameter | Type | Description |
|---|---|---|
test_id * | string | |
refresh | boolean | Rotate now if due, and compute fresh interim results. |
stop_ab_test Stop an A/B test
Stops a test and puts the chosen version live (A = original). Public change, so the user confirms first.
| Parameter | Type | Description |
|---|---|---|
test_id * | string | |
confirmation_token | string | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |
keep | string | Variant to leave live: A, B, C or D. |
seo_check SEO and packaging score
Scores a video's (or draft's) title, description, tags, hashtags and chapters against YouTube best practice, 0-100 with fixes in order of impact. No AI needed; 1 quota unit for a video_id, none for a draft.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
description | string | |
duration_seconds | number | |
keyword | string | The main search phrase you want to rank for. |
tags | array | |
title | string | |
video_id | string |
find_outliers Channel outliers
Ranks the channel's videos by outlier score (views ÷ the median of neighbouring uploads of the same format). Shows what over-performed (repeat it) and what under-performed (fix packaging or drop the topic). Shorts and long videos are compared separately.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
format | string | |
max_videos | integer |
research_topic Research a topic on YouTube
Searches YouTube for recent videos on a topic and ranks them by breakout ratio (views ÷ the uploader's subscribers: above 1 means it reached far beyond its audience), with title patterns (length, numbers, questions, common words) and typical duration. Costs about 102+ quota units per call.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
days | integer | |
duration | string | short <4 min, medium 4-20, long >20. |
max_results | integer | |
order | string | |
region_code | string |
best_publish_time Best day and time to publish
Compares first-week views of the channel's recent public uploads by weekday and time of day they were published (in your time zone), relative to the channel median. Uses YouTube Analytics; needs 6+ videos older than a week.
| Parameter | Type | Description |
|---|---|---|
channel | string | Which connected channel: channel ID (UC...), @handle or name. Omit to use the default channel. |
sample | integer | |
time_zone | string | IANA time zone, e.g. Asia/Kolkata. |