save_model
Save an EnergyPlus model to disk in IDF or epJSON format with customizable output path and overwrite control.
Instructions
Write model to disk as IDF or epJSON.
When file_path is omitted the model is re-saved to its original load
path. An explicit file_path must resolve within an allowed output
directory (IDFKIT_MCP_OUTPUT_DIRS, defaults to CWD) and will not
overwrite an existing file unless overwrite is True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Output path (default: original load path). | |
| overwrite | No | Overwrite existing output. | |
| output_format | No | Output format. | idf |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| status | Yes | ||
| file_path | Yes |