Check a build
lavela.compute_build_statusCheck a repo build: "building", "ok" (live URL) or "failed" (failureCode; next_step has the fix). No buildId? Pass projectId (+ service). Builds usually take 3–6 minutes; each call waits up to ~20s — keep calling; don't start another build meanwhile. "ok" with a non-empty error is a warning: the app didn't answer (wrong port, crash on boot; STOPPED_DURING_CHECK = the server was stopped before the check — start it; CERT_PENDING = HTTPS for the branded address is still coming). A refused build (TRIAL_*, INSUFFICIENT_*_BALANCE, *_CEILING, …) never ran — nothing in the code to fix. Build again only with lavela.compute_rebuild. Free, read-only. Details: https://console.lavela.dev/docs/mcp#build-status-codes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Seconds to wait (default and max 20; 0 = answer at once). Usually omit. | |
| buildId | No | The buildId from provision_compute_from_repo, compute_rebuild or the deploy page. | |
| service | No | With projectId: only this service's builds (web/api/worker). | |
| projectId | No | Instead of buildId: the project whose latest build to show (narrow with service). |