List Open Documents
list_open_documentsLists every document open in SolidWorks and identifies the active one, so you can target the right file or diagnose tool calls acting on the wrong document.
Instructions
List every document open in SolidWorks and say which one is active.
Use it before activate_document, or when tool calls seem to act on the wrong
document. Needs: SolidWorks running. Read-only. Returns: documents (each with
title, path, type and is_active) and count.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_open_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||