List Hole Wizard Sizes
list_hole_sizesLists SolidWorks Hole Wizard hole types, available sizes, and size dimensions from the installed library so you can confirm values accepted by hole creation without SolidWorks running.
Instructions
List the Hole Wizard's hole types and sizes for a standard, or one size's dimensions.
Read from SolidWorks' installed Hole Wizard library, so the sizes are the
ones create_hole accepts; it works without SolidWorks running. Give
hole_type for every hole type of that kind with its sizes, add fastener
for one type only, or size for its dimensions (counterbore diameter and
depth, head diameter, pitch: mm, inches for ansi_inch). Needs: SolidWorks'
Toolbox library on this machine (or SOLIDWORKS_MCP_HOLE_LIBRARY). Changes:
nothing. Returns: library with standard, hole_type, units and either
hole_types (each name and sizes) or fastener and dimensions.
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": "list_hole_sizes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | What to list. `hole_type` is required; `standard` is iso. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||