sw_create_box
Creates a rectangular box part in SolidWorks using specified length, width, and height in millimeters, then saves it under the configured output root.
Instructions
Create a rectangular box Part and save it under the output root.
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": {
"length_mm": "<length_mm>",
"width_mm": "<width_mm>",
"height_mm": "<height_mm>"
},
"name": "sw_create_box"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width_mm | Yes | ||
| height_mm | Yes | ||
| length_mm | Yes | ||
| save_as_name | No | box.SLDPRT |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |