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.
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": "save_model"
}
}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 |