insert_component
Insert a part or sub-assembly file into the active assembly at specified X, Y, Z coordinates in millimeters, with the component's origin placed at that point and no rotation applied.
Instructions
Inserts a part or sub-assembly (a .SLDPRT / .SLDASM file, relative to the projects folder when one is set) into the active assembly, with the component's origin at (x, y, z) mm and no rotation. The file is opened in the background if it is not already open, and its window is closed again afterwards.
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": {
"path": "<path>"
},
"name": "insert_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| x_mm | No | ||
| y_mm | No | ||
| z_mm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |