insert_library_part
Insert a STEP file from the parts library into a CAD document as a named object, then optionally rotate or translate it.
Instructions
Insert a STEP file from the parts library (see list_library) as object name, then optionally rotate/translate it.
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": {
"doc": "<doc>",
"library_path": "<library_path>",
"name": "<name>"
},
"name": "insert_library_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| name | Yes | ||
| material | No | ||
| position | No | ||
| library_path | Yes | ||
| rotation_deg | No | ||
| rotation_axis | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |