YouTube MCP integration for AI agents.
Connect AI agents to YouTube through 29 structured actions, including download caption, add video to playlist, delete caption, and rate video. Review authent…
- ACTION CONTRACTS
- 29
- AUTHENTICATION
- OAuth 2.0
- SOURCE STATUS
- Provider-backed
CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE
CAPABILITY PROFILE
What the YouTube integration exposes
The YouTube Agent App exposes 29 provider-backed actions for design & media and social work. Its current contract lets an authorized agent download a youtube caption track and return a temporary transit url, add a youtube video to a playlist, and delete a youtube caption track. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.
A connection uses OAuth 2.0. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.
For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected YouTube account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.
VERIFIED ACTION SAMPLE
Real YouTube capabilities.
Showing 12 of 29 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.
download_captionREADDownload a YouTube caption track and return a temporary transit URL.
INPUTS: captionId / tfmt / tlang / fileName / mimeType
add_video_to_playlistWRITEAdd a YouTube video to a playlist.
INPUTS: playlistId / videoId / position / note
delete_captionHIGH IMPACTDelete a YouTube caption track.
INPUTS: captionId
rate_videoREVIEWSet or clear the authenticated user's rating for a YouTube video.
INPUTS: videoId / rating
create_comment_replyWRITEReply to an existing YouTube comment thread.
INPUTS: parentId / textOriginal
create_playlistWRITECreate a YouTube playlist owned by the authenticated user.
INPUTS: title / description / privacyStatus
delete_playlistHIGH IMPACTDelete a YouTube playlist owned by the authenticated user.
INPUTS: playlistId
delete_playlist_itemHIGH IMPACTDelete an item from a YouTube playlist.
INPUTS: playlistItemId
delete_videoHIGH IMPACTDelete a YouTube video owned by the authenticated user.
INPUTS: videoId
get_video_ratingREADGet the authenticated user's rating for one or more YouTube videos.
INPUTS: ids
list_caption_tracksREADList YouTube caption tracks for a video or caption track IDs.
INPUTS: videoId / ids / part
list_channelsREADList YouTube channel resources by ID, username, handle, or authenticated owner.
INPUTS: ids / forHandle / forUsername / mine / part
INPUT CONTRACTS
Know what the action needs before it runs.
download_caption
captionIdREQUIRED- The YouTube caption track ID to download.
tfmtOPTIONAL- The caption output format requested from YouTube, such as srt or vtt.
tlangOPTIONAL- The caption language to translate into when supported by YouTube.
fileNameOPTIONAL- The output filename used for the transit file.
mimeTypeOPTIONAL- The MIME type to report for the downloaded caption file.
add_video_to_playlist
playlistIdREQUIRED- The YouTube playlist ID to add the video to.
videoIdREQUIRED- The YouTube video ID to add to the playlist.
positionOPTIONAL- The zero-based position for the new playlist item.
noteOPTIONAL- A user note associated with the playlist item when supported by YouTube.
delete_caption
captionIdOPTIONAL- The YouTube caption track ID to delete.
rate_video
videoIdOPTIONAL- The YouTube video ID to rate.
ratingOPTIONAL- The rating to apply to the video.
PROVIDER-SPECIFIC WORKFLOWS
Jobs this Agent App can support
Inspect Download Caption
Download a YouTube caption track and return a temporary transit URL. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.
download_captionControl Add Video To Playlist
Add a YouTube video to a playlist. Resolve the target first, present material changes for confirmation, and make retries idempotent where the provider supports it.
add_video_to_playlistVerify with Add Video To Playlist
Add a YouTube video to a playlist. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.
add_video_to_playlistSAFETY BOUNDARY
Operate YouTube with explicit limits
- Authorize YouTube with OAuth 2.0 and grant only the provider access required by the selected actions.
- 15 actions are change-capable by name. Confirm the target identity and material parameters before allowing a write.
- Treat `delete_caption`, `delete_playlist`, and `delete_playlist_item` as high-impact operations and require an explicit approval boundary.
- The sampled contract declares provider scopes including `https://www.googleapis.com/auth/youtube.force-ssl` and `https://www.googleapis.com/auth/youtube.readonly`; verify the complete action contract before execution.
- After a call, inspect the structured result and execution record before reporting that the YouTube task completed successfully.
CONNECTION MODEL
OAuth 2.0
YouTube uses OAuth 2.0. Connection requirements and availability are determined by the provider and the Working Machines deployment.
Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.
- READ SIGNALS
- 13
- WRITE SIGNALS
- 11
- HIGH IMPACT
- 4
- REVIEW SIGNALS
- 1
EVIDENCE AND AVAILABILITY
Provider reference
Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by YouTube.