hole
Drill simple, counterbore, or countersink features into a solid at a surface point and direction; set depth or leave it for through-all.
Instructions
Drill a hole into solid name (modified in place). position is the point on the surface where the hole starts,
direction points INTO the material (e.g. [0,0,-1] to drill down from a top face). depth None = through all.
kind counterbore needs cbore_diameter and cbore_depth; countersink needs csink_diameter (90 degree cone).
Fails if no material was removed. Find surface points with list_faces.
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": {
"doc": "<doc>",
"name": "<name>",
"position": "<position>",
"direction": "<direction>",
"diameter": "<diameter>"
},
"name": "hole"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| kind | No | simple | |
| name | Yes | ||
| depth | No | ||
| diameter | Yes | ||
| position | Yes | ||
| direction | Yes | ||
| cbore_depth | No | ||
| cbore_diameter | No | ||
| csink_diameter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |