Hole Wizard Hole
create_holeAdds standard Hole Wizard holes—simple, counterbored, countersunk, or tapped—at points on a flat face, sizing them from the library instead of sketching and cutting circles.
Instructions
Add a standard Hole Wizard hole (simple, counterbored, countersunk or tapped) at a point on a flat face.
Use it instead of sketching a circle and cutting: the hole is sized from the
standard, so it fits the fastener and a drawing shows its callout. Several
holes on one face: give the rest as positions (one feature, a hole at each
point); a regular grid can also use pattern_linear. Sizes come from the
Hole Wizard library (list_hole_sizes): an unknown size is refused, with the
nearest ones, before anything is made. A simple hole can't be through all in
SolidWorks, so it is made blind through the part (end_condition_used, with
a warning). It fails when the volume doesn't change. Needs: an open part with
a flat face at face_point. Changes: adds a hole feature. Returns: hole
with name, hole_count, hole_type, standard, fastener (the hole type
used), size, end_condition, end_condition_used, and volume_before,
volume_after and volume_change (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": {
"input_data": "<input_data>"
},
"name": "create_hole"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The hole. `face_point`, `hole_type` and `size` are required; `standard` is iso and `end_condition` through_all (blind needs `depth`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||