activate_document
Switch the active SOLIDWORKS document by specifying its title, full path, or file name, then verify the change.
Instructions
Switch which open document is the active one.
Matches the argument against open documents by title, full path, or
file name (case-insensitive), calls ActivateDoc3, and reads the
active document back to confirm the switch took.
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": "activate_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | Which document to activate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||