list_open_documents
List all currently open SolidWorks documents to discover assemblies, parts, and drawings before switching the active document. Read-only; returns titles, paths, types, and active status.
Instructions
List every SolidWorks document that is currently open.
Read-only — does not change which document is active. Use it to
discover what is open (an assembly plus its parts, a drawing plus its
model) before switching with activate_document.
Returns:
dict[str, Any]: status and documents — a list of
{title, path, type, is_active} entries, plus count.
Example:
python await list_open_documents()
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 | |||