List My Videos
youtube_list_my_videosList uploaded videos from your YouTube channel. Paginate through results and get video metadata including title, description, and thumbnail.
Instructions
List videos uploaded to the authenticated channel.
Fetches the channel's uploads playlist ID via channels.list(mine=true), then pages through playlistItems.list to return video metadata.
Args
maxResults (integer 1–50, default 25): number of items per page
pageToken (string, optional): cursor token returned in a previous response
response_format: "markdown" (default) or "json"
Returns JSON shape:
{
"items": [
{
"videoId": "abc123",
"title": "My Video",
"description": "...",
"publishedAt": "2024-01-01T00:00:00Z",
"thumbnailUrl": "https://..."
}
],
"nextPageToken": "CAUQAA",
"totalResults": 42
}Examples
List first 10 videos:
{ "maxResults": 10 }Get next page:
{ "maxResults": 10, "pageToken": "CAUQAA" }
Errors
401/403: credentials expired or missing upload scope — re-run
npm run auth404: channel has no uploads playlist (newly created channel?)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxResults | No | Number of videos to return per page (1–50, default 25). | |
| pageToken | No | Pagination cursor from a previous response's nextPageToken. | |
| response_format | No | Output format: "markdown" (default) or "json". | markdown |