validate_design
Validate a design session or one page in draft or complete mode. Returns totals and paginated diagnostics to flag open slots and missing port connections.
Instructions
Validate a design session (or one page) in draft or complete mode. Returns totals plus paginated diagnostics. A plan-ready graph is not proof of rendered correctness.
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": {
"designId": "<designId>"
},
"name": "validate_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Validation strictness mode: "draft" allows unbound slots; "complete" enforces zero open slots and full port connectivity. | draft |
| cursor | No | Pagination cursor if validation diagnostics exceed single response limit. | |
| pageId | No | Optionally scope validation to a single page within the session. | |
| designId | Yes | Identifier of the design session to validate. | |
| revision | No | Specific revision to validate (defaults to latest). |