Get File Properties
get_file_propertiesRetrieve the active document's file details—name, path, size, dates, type, configuration, and unsaved-changes status—to verify what is open before saving or closing.
Instructions
Report the active document's file details: name, path, size, dates, type, configuration and unsaved changes.
Use it to check what is open and whether it has unsaved changes before saving or
closing. For the model itself (rebuild status included), use get_model_info;
for custom properties, use get_custom_properties. Needs: an open, active
document. Read-only. Returns: properties with file_name, file_path,
file_size_bytes, created_date and modified_date (Unix timestamps; empty
for a document never saved), document_type, configuration, is_dirty and
feature_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": "get_file_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||