Validate design
validate_designRun a quality gate on a design project: checks schema, asset integrity, protected content, text overflow, fonts, empty zones and contrast, grading issues as errors that block export, warnings, suggestions or info.
Instructions
Quality gate: schema and references, asset existence and SHA-256 integrity, protected content (stretch, crop, rotation, occlusion, opacity — including a pixel comparison against an isolated reference render), text clipping/overflow/overlap, font availability, empty zones and contrast. Issues are graded error (blocks export) / warning / suggestion / info. Intentional decorative bleed is not an error.
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": {
"project": "<project>"
},
"name": "validate_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIds | No | ||
| project | Yes | Project id returned by create_project/open_project in this session, or the project directory path. | |
| pixelCheck | No | Run the protected-pixel comparison (default true). |