Verify scaffold
verify_scaffoldRuns a real npm install && npm run build against the given files on an isolated GitHub Actions runner and reports whether the project builds. Two-call protocol: pass files to start (returns WAIT + a jobId), then call again with that jobId to get the verdict (OK or FAIL). A full install and build usually takes one to two minutes. Requires the projectid of a project this account purchased via purchase_scaffold — attributes every build to a real customer. Use this after editing a get_scaffold result to check the edited project still builds, before handing it to the user. Send the full project — every file, not just the ones you changed. On FAIL, the response includes the tail of the failing step output (compiler/install errors). Fix the files and retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | The full project to verify — a scaffold's files with your edits applied. Omit when polling with jobId. | |
| jobId | No | Poll a previously started verification. Omit on the first call (pass files), pass the returned jobId on subsequent calls. | |
| projectid | Yes | The project id from a previous purchase_scaffold result — must be owned by this account. Required. | |
| envVariables | No | Env var names to write placeholder values for before building (typically get_component's `envVariables` output) — needed for components that read process.env at build time (e.g. a Supabase client). |