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.
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 |