Edit spreadsheet
edit_spreadsheetUse this when the user needs to create a new XLSX workbook or directly edit XLSX cells/ranges/formulas without launching Excel. Set create=true only for a new path; it fails rather than overwriting an existing workbook. Prefer explicit cells/ranges and write to output when preserving an existing original matters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Existing .xlsx path, or the new workbook destination when create=true. | |
| edits | Yes | Bounded list of spreadsheet edits; each item names a cell/range and the value(s) or formula to write. | |
| sheet | No | Worksheet name. For create=true, defaults to Sheet1 and becomes the new workbook sheet name. | |
| create | No | Create a new XLSX at path. Fails if path already exists; do not combine with output. | |
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. | |
| output | No | Optional output .xlsx when editing an existing workbook; defaults to replacing input. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Edit spreadsheet structured result for edit_spreadsheet. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload. | |
| text | Yes | Concise human-readable result of the tool call. |