save_workbook_as
Save an Excel workbook to a designated file path. Requires explicit target; will not overwrite existing files unless overwrite is enabled. Returns the absolute path of the saved file.
Instructions
ModelRisk: Save the workbook to a specific path on disk. Distinct from the user's Ctrl+S — the MCP server never calls Workbook.Save() implicitly. Use only when the caller explicitly named a target file. Refuses to overwrite an existing file unless overwrite=True. Returns the resolved absolute path that was written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path. Must end in .xlsx, .xlsm, .xlsb, or .xls. | |
| workbook | Yes | ||
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||