Parse HLS / M3U8 Manifest
parse_hls_manifestParse an HLS .m3u8 Master or Media Playlist from raw #EXTM3U text or an authorized public HTTP/HTTPS URL. Extracts bandwidth variants, resolutions, codecs, audio/subtitle renditions, total duration, segment count, encryption (#EXT-X-KEY), and common playback diagnostics. Read-only, no login required.
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": "parse_hls_manifest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Authorized public HTTP/HTTPS .m3u8 manifest URL to fetch and parse (SSRF-protected, max 256 KB). | |
| base_url | No | Optional base URL used to resolve relative variant/segment URIs when passing raw `manifest` text. | |
| manifest | No | Raw #EXTM3U / .m3u8 manifest text (up to 500,000 characters). Provide either `manifest` or `url`. | |
| max_segments | No | Maximum number of sample resolved segment entries to include for Media Playlists (default 20, max 100). |