Parse a YouTube URL
youtube_parse_urlParse any YouTube URL or video ID offline to extract video ID, playlist ID, start offset, and link type. Validate links without network requests.
Instructions
Offline parse of a YouTube reference: video id, playlist id, start offset and how it was recognised. Makes no network requests. Useful for validating a link and explaining playlist, channel or clip links.
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": "youtube_parse_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Any YouTube URL, or a bare 11-character video id. |