browser_trace_start
Start a Chrome DevTools CDP performance trace on a target browser session to measure Core Web Vitals, Long Tasks, TBT, and main-thread breakdown, with optional reload and auto-stop insights.
Instructions
Start a Chrome DevTools CDP performance trace on the target session to measure Core Web Vitals, Long Tasks, TBT, and main-thread breakdown.
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": "browser_trace_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reload | No | Clear state via about:blank and reload the current URL once tracing begins (default: true). | |
| autoStop | No | Automatically stop tracing after waitAfterLoadMs and return the parsed insights (default: true). | |
| filePath | No | Optional path to save raw Chrome DevTools trace data (.json or .json.gz) when autoStop=true. | |
| sessionId | No | Optional target browser session ID. If omitted, uses the currently active session (or auto-launches one). | |
| ignoreCache | No | Disable HTTP cache during reload when reload=true (default: false). | |
| waitAfterLoadMs | No | Milliseconds to wait after load/start before auto-stopping trace (default: 1500). | |
| includeScreenshots | No | Include DevTools timeline screenshots in trace categories (default: false). |