Add Hole To Part
add_hole_to_partAdd a circular hole to the active SolidWorks part by specifying diameter, position, and depth, modifying the existing part for follow-up design requests.
Instructions
Adds a circular cut hole to the currently active part document, preserving and modifying that part. Use for follow-up requests such as adding holes; do not call new_part first.
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": {
"diameter": "<diameter>"
},
"name": "add_hole_to_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xc | No | ||
| yc | No | ||
| depth | No | ||
| diameter | Yes | ||
| through_all | No | ||
| plane_or_face | No | Front Plane |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||