Media player details
media_inspectInspect a tab's video player to report resolution, frame rate, dropped frames, buffered ranges, ready/network state, errors, recent events, and codec/bitrate when available.
Instructions
Player details like the DevTools Media panel: resolution, frame rate, dropped frames, buffered ranges, ready/network state, errors and recent events; codec and bitrate when they can be determined. Uses the full DevTools channel when available.
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": "media_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab to act on. Defaults to the session target tab (see tab_select). | |
| video | No | Media ref from video_list (e.g. "e7"). Defaults to the main video: the largest visible one, preferring a playing one. | |
| sampleMs | No | Measure frame rate over this many milliseconds (default 1000). |