Validate Next.js build
nextjs_buildValidate a Next.js project build by running next build and receiving structured TypeScript, module, and page errors, along with generated pages and their render types and sizes.
Instructions
Runs next build and returns structured errors (TypeScript, module, page-level) plus a list of generated pages with their render types and sizes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Extra env vars for the build, e.g. { NEXT_PUBLIC_API_URL: '...' } | |
| project_dir | Yes | Absolute path to the Next.js project root | |
| timeout_seconds | No |