Validate the head source
websiteSourceCode_head_checkRuns the publish-time framework quality gate without changing source: format, typecheck, lint, build, and a server-render of every page using placeholder content synthesized from the CMS schema. Failures return ok: false with diagnostics, and pages that compiled but threw while rendering in renderFailures. No lease is required and no CMS content is read, so the outcome depends only on source and schema.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"websiteId": "<websiteId>"
},
"name": "websiteSourceCode_head_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| websiteId | Yes |