Run isolated Lighthouse performance lab on supplied static HTML
browser.lighthouse_labV11-LAB local-only: run the real Lighthouse engine once in pinned sandboxed Chromium against caller-supplied HTML served at a synthetic, isolated local proxy origin.
Instructions
V11-LAB local-only: run the real Lighthouse engine once in pinned sandboxed Chromium against caller-supplied HTML served at a synthetic, isolated local proxy origin. Reports redacted Lighthouse performance score, FCP, LCP, TBT, Speed Index and CLS. All supplied executable page scripts and embedded frames are stripped, and all outbound resource requests are denied; no production URL, remote CSS/JS, CrUX field INP, ranking or indexing verdict. Chrome/Lighthouse may incur CPU and memory load; fixed 75-second deadline and 180 KB HTML cap.
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": {
"html": "<html>"
},
"name": "browser.lighthouse_lab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Authorized static HTML markup for the isolated lab. It is not fetched or stored. | |
| form_factor | No | Run one real Lighthouse performance-only lab simulation using mobile or desktop viewport emulation. | mobile |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| scope | Yes | ||
| status | Yes | ||
| metrics | Yes | ||
| findings | Yes | ||
| form_factor | Yes | ||
| limitations | Yes | ||
| total_findings | Yes | ||
| browser_executed | Yes | ||
| coverage_limited | Yes | ||
| network_isolated | Yes | ||
| requests_blocked | Yes | ||
| scripts_disabled | Yes | ||
| findings_truncated | Yes | ||
| lighthouse_version | Yes | ||
| performance_score_percent | Yes |