parse_youtube_url
Parse any YouTube URL format to extract video ID, channel ID, playlist ID, handle, and timestamp. Supports watch, youtu.be, Shorts, embed, playlist, channel, handle, and bare ID formats.
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 |