build_start
Starts a background job to compile a saved flow or bundle into a Playwright spec and verify clean runs, returning a job_id to poll until completion.
Instructions
Start a background job that compiles a saved flow (or bundle) into a Playwright .flow.ts/.spec.ts and verifies it (readiness: clean runs). With a reset command (sitelooper.config.json resetCommand) it first converges, re-recording failing steps with the model. Readiness needs a reset command or fixture_isolation. Returns a job_id at once: poll job_status until done/failed (minutes).
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": "<flow>"
},
"name": "build_start"
}
}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. | |
| flow | Yes | Flow name or bundle path. | |
| 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. | |
| converge | No | true = --converge (default rounds), N = --converge N rounds, false = --no-converge (compile and readiness only). | |
| fixture_isolation | No | Declare that project fixtures prepare fresh data (--fixture-isolation). |