create_dovetail
Create a dovetail joint between two overlapping boards using specified dimensions, angle, and offset.
Instructions
Create a dovetail joint between two boards.
All dimensions in millimeters; angle is in degrees, valid range (0, 60]. 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 {tail: {id, name, type, bbox_mm|null}, pin: {...}, 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 |
|---|---|---|---|
| angle | No | Dovetail flare angle in degrees, 0 < angle <= 60 | |
| depth | No | Joint depth in mm | |
| width | No | Joint width in mm | |
| height | No | Joint height in mm | |
| pin_id | Yes | Entity ID from a previous response (integer or its string form) | |
| tail_id | Yes | Entity ID from a previous response (integer or its string form) | |
| 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 | |
| num_tails | No | Number of tails |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |