channel_livestreams
Retrieve YouTube channel live streams with sorting options, localization, and pagination support for monitoring current broadcasts.
Instructions
Get live stream listing and channel details. Quota cost is 1 unit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "channel_livestreams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Example value: UCAuUUnT6oDeKwE6v1NGQxug | |
| forUsername | No | If id not available then provide username. Quota cost +1. | |
| sort_by | No | Sorts the channel's live streams. Available options: newest [default] popular oldest | |
| token | No | Pagination token Alternatively, use X-TOKEN in header | |
| geo | No | ISO 3166-2 country code of the region. Like US (default), GB, CA, IN, etc. | |
| lang | No | Language code for localized results. Like en, gb, hi, etc | |
| local | No | Get localized data, the value must be 1. Works with provided value of geo, if not provided then default is US. Quota Cost +1 | |
| X-CACHEBYPASS | No | Cache bypass, the value must be 1 Quota Cost +1 | |
| X-TOKEN | No | Alternative way to pass Pagination token via headers. This will solve 414, URI too long issue. |