trace_stop
Stop the active Playwright trace and save it as a zip file for offline replay with show-trace. Requires a running trace; overwrites existing files at the given path.
Instructions
Stop the Playwright trace started by trace_start and write the zip to
path (default: jevnav-trace-.zip under --file-root, which
defaults to the working directory and must be set explicitly if the
server runs from / or $HOME; the path must stay inside it).
The zip holds snapshots and, if enabled, screenshots of everything since
trace_start — open it with npx playwright show-trace <path>. Stopping
without a started trace is an error; passing the same path again
overwrites that zip. Chromium, Firefox and WebKit all support it.
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": "trace_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |