YouTube Video API
youtube_videoFetch detailed metadata for a single YouTube video using its ID, including geo-targeted results by country and language. Ideal for extracting video info programmatically.
Instructions
Get details and metadata for a single YouTube video.
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": {
"v": "<v>"
},
"name": "youtube_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v | Yes | YouTube video id (the part after ?v= in the URL). | |
| country | No | Two-letter ISO country code to geo-target results (e.g. us, gb, in, de). (API default: us) | |
| language | No | Result language code (e.g. en, es, fr, de). (API default: en) |