Verify scaffold
verify_scaffoldRuns a real npm install && npm run build against the given files and reports whether the project builds. Free, no API key needed. Use it after editing a generate_scaffold result (e.g. wiring a component into a page) before handing the project to the user. The build runs asynchronously: call once with files (the full project — every file, not just the ones you changed) and you get back status "WAIT" and a jobId; call again with that jobId until you get "OK" (it builds) or "FAIL" (it does not, with the compiler error). A build usually takes one to two minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | The full project to verify — generate_scaffold's `files` output with your edits applied. Provide this to start a verification. | |
| jobId | No | A job id from a previous WAIT response. Provide this to check a verification already started. | |
| envVariables | No | Env var names to write placeholder values for before building (typically generate_scaffold's `envVariables` output) — needed for components that read process.env at build time (e.g. a Supabase client). |