open_document
Opens a SOLIDWORKS file and makes it the active document, or brings an already-loaded file to the front. Use it to switch to a specific file by full path.
Instructions
Open a SolidWorks file and make it the active document. A file that is already loaded (in the background, or only as a component of an open assembly) is brought to the front instead. The result names the active document; it is an error if the file could not be made active.
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": {
"filepath": "<filepath>"
},
"name": "open_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Full path of the file to open |