perf_snapshot
Coordinates tracing, CPU profiling, and coverage to capture a bundled performance snapshot, returning audit metrics and artifact URIs for Electron app analysis.
Instructions
Composite performance profiler: coordinates start_tracing + start_cpu_profile + start_coverage, optionally captures an interaction or reload, stops all collectors, and bundles perf audit, metrics, and artifact URIs.
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": "perf_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reload | No | If true, reloads the current page during trace capture | |
| targetId | No | ||
| processId | No | Process ID. If omitted, uses the single running app. | |
| durationMs | No | Capture window duration in milliseconds (default: 1000) |