parse_youtube_url
Extract video ID, channel ID, playlist ID, handle, and timestamp from any YouTube URL format. Supports watch links, youtu.be, shorts, embeds, playlists, channels, handles, and bare IDs.
Instructions
Parse any YouTube URL format and extract video ID, channel ID, playlist ID, handle, and timestamp. Supports youtube.com/watch, youtu.be, /shorts/, /embed/, /playlist, /channel/, /@handle, and bare video IDs.
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": "parse_youtube_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Any YouTube URL or video ID |