add_hole_wizard
Adds GB or ISO Hole Wizard holes in SolidWorks: clearance, counterbore, countersink or tapped at a point, through or to depth, with close, normal or loose fit and optional modeled metric thread.
Instructions
A GB (default) or ISO hole from SolidWorks' Hole Wizard.
standard='GB' (default) uses GB/T 5277 clearance, GB/T 70.1 socket head
cap, GB/T 70.3 countersunk socket head and GB tapped-hole tables;
standard='ISO' uses the ISO 273/4762/10642 tables. kind: 'clearance',
'counterbore', 'countersink' or 'tapped'; size e.g. 'M3'. Centred at
(x, y, z) mm on the face through that point; through all, or depth_mm deep.
fit: 'close' / 'normal' / 'loose'. For tapped holes thread='modeled' cuts a
real, printable metric thread instead of SolidWorks' cosmetic one. Returns
the standard's sizes in hole and mass properties.
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": {
"kind": "<kind>",
"size": "<size>",
"face": "<face>",
"x_mm": "<x_mm>",
"y_mm": "<y_mm>",
"z_mm": "<z_mm>"
},
"name": "add_hole_wizard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | normal | |
| face | Yes | ||
| kind | Yes | ||
| name | No | ||
| size | Yes | ||
| x_mm | Yes | ||
| y_mm | Yes | ||
| z_mm | Yes | ||
| thread | No | cosmetic | |
| depth_mm | No | ||
| standard | No | GB |