Start a build run
start_runRuns a registered recipe. THIS IS THE TOOL THAT SPENDS MONEY. Four modes: sample (a bounded slice — always start here), full (the whole thing), refresh (forward from where the last run reached), backfill (one exact window). Example: {"recipe_id": "…", "recipe_digest": "…", "mode": "sample", "max_rows": 5000}. A sample must state at least one ceiling (max_rows, max_source_bytes or window); a backfill must state window {start, end}. Returns {run_id, status, mode, version, dashboard_url}. A run whose projected spend crosses the workspace threshold comes back status "held" with projected_bytes, projected_runtime_seconds and projected_cost — show those to the user and call confirm_run only if they agree. Next: run_events to watch it, then query_run to check the rows it built.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| window | No | ||
| max_rows | No | ||
| recipe_id | Yes | ||
| recipe_digest | Yes | ||
| resource_class | No | ||
| max_source_bytes | No |