open_assembly
Opens .sldasm or imports STEP/IGES/Parasolid assemblies as the current document, placing components for listing and mating; single-part files and imports over 30 MB need explicit approval.
Instructions
Open a .sldasm, or import a STEP/IGES/Parasolid assembly; it becomes the current document.
An imported assembly's parts arrive as components at their places, ready for list_components and add_mate; the result gives the component count. A file holding a single part is refused (use open_part), and an import over 30 MB unless allow_large=True (it can outlast the 2-minute call limit).
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": "open_assembly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| allow_large | No |