create_mortise_tenon
Create a mortise-and-tenon joint between two overlapping boards. Specify dimensions and offsets to position the joint precisely.
Instructions
Create a mortise-and-tenon joint between two boards.
All dimensions in millimeters; offsets shift the joint from the board face's center. Defaults are sized for ~100 mm boards. The two boards must already touch/overlap along the joint axis.
Returns: JSON {mortise: {id, name, type, bbox_mm|null}, tenon: {...}, boolean_cuts: {attempted, failed}} — non-zero failed means some cuts did not apply (likely non-manifold geometry); verify via bbox_mm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Joint depth in mm | |
| width | No | Joint width in mm | |
| height | No | Joint height in mm | |
| offset_x | No | Joint offset from the board face's center along X, mm | |
| offset_y | No | Joint offset from the board face's center along Y, mm | |
| offset_z | No | Joint offset from the board face's center along Z, mm | |
| tenon_id | Yes | Entity ID from a previous response (integer or its string form) | |
| mortise_id | Yes | Entity ID from a previous response (integer or its string form) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |