Open Model
open_modelOpens an existing SolidWorks part, assembly, or drawing from disk and sets it as the active document so you can begin editing or reviewing it.
Instructions
Open a part, assembly or drawing from disk and make it the active document.
Use it to start work on an existing file. To switch to a document that is
already open, use activate_document. Needs: the file on disk (a vault file
must be checked out). Changes: opens the document; nothing is written. Returns:
model with title, type, path and configuration.
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": "open_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The file. `file_path` (.sldprt, .sldasm or .slddrw) is required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||