Get Model Info
get_model_infoReports the active SolidWorks document's title, path, type, configuration, unsaved changes, feature count, and rebuild status, helping identify which model is active at the start of a session.
Instructions
Report the active document's title, path, type, active configuration, unsaved changes, feature count and rebuild status.
Use it first in a session, to see which document is active (it follows a switch
made in the SolidWorks window). For file size and dates, use
get_file_properties; for every open document, use list_open_documents.
Needs: an open document. Read-only. Returns: model_info with title, path,
type, configuration, is_dirty, feature_count and rebuild_status (0
rebuilt, 1 needs a rebuild).
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 | |||