Stop performance trace
performance_stop_traceStop an active performance trace and collect its buffered data, optionally saving the raw trace JSON to a local file. Use when a trace was started with auto_stop disabled.
Instructions
Stop the running performance trace and collect its data.
Only needed when performance_start_trace was called with auto_stop=false — otherwise the trace has already ended and this returns an error.
Waits up to 30 seconds for Chrome to flush its buffered events.
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": "performance_stop_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser | No | Which browser to act on. Each name is an independent Chrome, created on first use. Omit for the shared default; parallel agents each need their own name. | default |
| file_path | No | Write the raw trace JSON to this local path (e.g. "trace.json"), loadable in DevTools -> Performance. Omit to get only the event count. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |