List Hole Wizard Sizes
list_hole_sizesList Hole Wizard hole types and sizes for a standard, or get dimensions for one size, from the installed SolidWorks library so you can choose valid inputs for hole creation.
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 | |||