check
Runs a compiled .flow.ts once in plain Playwright to report pass/fail, or starts a background readiness job and returns a job_id to poll.
Instructions
Run a compiled .flow.ts once under plain Playwright (no model) and report pass/fail (exit 4 = failed, 2 = could not run). With ready=true it runs the readiness gate (several clean runs) as a background job: the call returns a job_id; poll job_status.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"flow_file": "<flow_file>"
},
"name": "check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory (absolute) the command runs in; sitelooper.config.json is found from here. Default: the server's working directory. | |
| runs | No | Readiness executions (--runs), with ready. | |
| vars | No | Flow variables, passed as repeated --var k=v. "{n}" in a value is replaced per run with a fresh value. Never a secret: use {{env:NAME}} markers in instructions instead. | |
| ready | No | Readiness check (--ready), run as a job. | |
| flow_file | Yes | Path to the .flow.ts file, relative to cwd or absolute. | |
| fixture_isolation | No | Declare that project fixtures prepare fresh data (--fixture-isolation), with ready. |