create_dovetail
Create a dovetail joint between two touching boards in SketchUp using tail and pin IDs, with angle, depth, width, height, and offset settings for joinery.
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.
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": {
"tail_id": "<tail_id>",
"pin_id": "<pin_id>"
},
"name": "create_dovetail"
}
}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 |