Check any model
checkValidate any LEGO model file (.ldr, .mpd, .io) for buildability by verifying part existence, colors, rotations, duplicates, intersections, and connections to base; returns VALID or PROBLEMS details.
Instructions
Strictly validate any LEGO model file for buildability.
Use on any .ldr, .mpd or BrickLink Studio .io, including models not made by BrickScape (for
BrickScape builds, build already reports this). Checks that every part exists in the LDraw
library and at the part source, every part/colour pair exists, rotations are real (no mirrored
or scaled parts), no duplicates, no two parts intersect (real part shapes), and every part is
held by a real connection down to the base. Returns VALID or PROBLEMS with each failing check,
the parts involved (part#index) and counts by connection type. Read-only: it never changes the
file. Does not check balance or clutch strength.
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": {
"path": "<path>"
},
"name": "check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a model to validate: .ldr, .mpd or BrickLink Studio .io | |
| source | No | Part source: 'lego' (official LEGO parts and colours, default) or 'gobricks' (GoBricks moulds, colours and prices) | lego |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |