get_run_status
Retrieve the current status of a Playwright test run using a run ID or working directory. Returns idle when no tracked run exists.
Instructions
Return status for a tracked Playwright run. Pass runId for a specific background run, or omit it to inspect the latest tracked run for a workingDirectory. If no tracked run exists, returns idle with current results.json metadata; it does not inspect unrelated OS processes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workingDirectory | No | Playwright project directory. Absolute or relative to the MCP server launch directory. Defaults to ".". Must be under PW_ALLOWED_DIRS. Used to find the latest tracked run when runId is omitted; when supplied with runId, it must resolve to that run working directory. | |
| runId | No | Run identifier returned by run_tests with wait=false. |