place_brick
Place a Lego part at exact stud coordinates and plate height, with rotation, while enforcing valid builds by preventing collisions, floating, or exceeding build area.
Instructions
Place a part with its minimum-x,y corner at stud (x,y), bottom at plate height z (z=0 on the ground; on top of a brick placed at z=0 means z=3). rotation is 0, 90, 180 or 270 (90/270 swap the footprint; slopes descend toward +y at 0 and rotate with the piece). Fails with an explanation if the placement collides, floats, or leaves the build area.
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": {
"part": "<part>",
"x": "<x>",
"y": "<y>",
"z": "<z>"
},
"name": "place_brick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| z | Yes | ||
| part | Yes | ||
| color | No | red | |
| rotation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |