insert_component
Places a part or sub-assembly into the active assembly at millimetre coordinates; the component file must contain solid geometry.
Instructions
Insert a part or sub-assembly into the active assembly.
Call create_assembly first. Position is in millimetres from the
assembly origin.
The component file must contain solid geometry — SolidWorks silently refuses to insert an empty part, so a missing or empty component surfaces as an error rather than a fabricated success.
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": "insert_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | File path and position. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||