Check that segments are really there
check_segmentsProbe the latest segments of an HLS or DASH stream's first rendition to detect missing or slow media behind a valid manifest, reporting failures and timings.
Instructions
Request the newest few segments of the first rendition and report failures and timings. Answers the case where the manifest is valid but the media behind it is missing or slow. Uses HEAD where the CDN allows it.
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": "check_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute URL of an HLS .m3u8 or DASH .mpd manifest | |
| sample | No | How many segments to probe. Default 5. | |
| headers | No | Extra request headers, for CDN tokens or a required Referer |