manage_documents
List, open, activate, and close Inventor documents; handle unsaved or protected files and optionally discard changes or quit Inventor.
Instructions
Open documents of this Inventor.
"list": name, type, dirty, active; protected (library / Content Center) ones marked. "open": a file by path. "activate": switch by name or path. "close": one, without saving unless it is yours and dirty (discard=True closes it anyway). "close_unsaved": documents never saved (Part12… left by failed attempts). "close_all": everything; refuses while your own files have unsaved changes, listing them (discard=True closes anyway; protected files never count). quit_inventor=True quits after.
Args: action: "list", "open", "activate", "close", "close_unsaved" or "close_all". name_or_path: For open / activate / close. include_active: "close_unsaved" also closes the active document. discard: Close without saving your changes. quit_inventor: "close_all" then quits this Inventor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | list | |
| discard | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| name_or_path | No | ||
| quit_inventor | No | ||
| include_active | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |