Get Model Info
get_model_infoRetrieve read-only details about the active SolidWorks document, including title, path, type, configuration, unsaved changes, feature count, rebuild status, and file metadata, to identify it at session start.
Instructions
Report the active document's title, path, type, configuration, unsaved changes, feature count, rebuild status and file details.
Use it first in a session, to see which document is active (it follows a switch
made in the SolidWorks window). For every open document, use
list_open_documents; for custom properties, get_custom_properties. Needs: an
open document. Read-only. Returns: model_info with title, path, type,
configuration, is_dirty, feature_count, rebuild_status (0 rebuilt, 1
needs a rebuild), and the file's size_bytes, created and modified (Unix
timestamps; null for a document never saved).
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": "get_model_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||