YouTube
Video sharing and streaming platform — manage videos, playlists, and channels
Tools
| Name | Description |
|---|---|
search_videosSearch for YouTube videos by keyword | Search for YouTube videos by keyword |
get_videoGet details of a specific YouTube video by ID | Get details of a specific YouTube video by ID |
list_playlistsList playlists for the authenticated user's channel | List playlists for the authenticated user's channel |
create_playlistCreate a new YouTube playlist | Create a new YouTube playlist |
add_to_playlistAdd a video to an existing YouTube playlist | Add a video to an existing YouTube playlist |
list_channel_videosList videos uploaded to the authenticated user's channel | List videos uploaded to the authenticated user's channel |
custom_api_callMake a custom API call to the YouTube Data API v3 | Make a custom API call to the YouTube Data API v3 |
Triggers
| Name | Description |
|---|---|
new_videoTriggers when a new video is uploaded to your YouTube channel | Triggers when a new video is uploaded to your YouTube channel |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('youtube', 'search_videos', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'youtube',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect YouTube to my app?
Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.
What tools does YouTube support?
YouTube supports 7 tools including Search Videos, Get Video, List Playlists, Create Playlist, Add Video to Playlist, and more.
Can I use YouTube with AI agents?
Yes. Add YouTube to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.
How do I connect YouTube to ChatGPT or Claude?
Open the Weavz connector setup, sign in, choose a workspace, and add YouTube as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped YouTube tools exposed by that workspace.
Does YouTube work with Claude Code, Cursor, Codex, and local agents?
Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved YouTube work, and execute Code Mode workflows from a terminal.
What can I ask an AI agent to do with YouTube?
YouTube exposes 7 tools, including Search Videos, Get Video, List Playlists, Create Playlist, Add Video to Playlist, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.
Can YouTube be used in stateful agent workflows?
Yes. Agents can combine YouTube tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.
What authentication does YouTube use?
YouTube uses OAuth2. Weavz stores OAuth credentials securely and refreshes tokens when supported by the provider.
How much does the YouTube integration cost?
The YouTube integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.
What triggers does YouTube support?
YouTube supports 1 triggers including New Video.
Connect YouTube in minutes
Get 20,000 free action executions every month. No credit card required.