Fetch YouTube Videos
fetch_videosRetrieve video metadata from YouTube playlists or channels, including IDs, titles, durations, upload dates, and URLs. Specify a playlist URL, channel URL, or handle with an optional limit.
Instructions
List videos from a YouTube playlist or channel. Returns video IDs, titles, durations, upload dates, and URLs. Sorted by playlist or channel order.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "fetch_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube playlist URL, channel URL, or channel handle (e.g., https://www.youtube.com/@channel) | |
| limit | No | Maximum number of videos to return (1-100, default: 20) |