sw_create_cylinder
Create a SolidWorks cylinder part from specified diameter and length, then save the file to the configured output directory.
Instructions
Create a cylinder 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": {
"diameter_mm": "<diameter_mm>",
"length_mm": "<length_mm>"
},
"name": "sw_create_cylinder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length_mm | Yes | ||
| diameter_mm | Yes | ||
| save_as_name | No | cylinder.SLDPRT |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |