Append rows
append_rowsAdd rows below the last used row of an Excel sheet without overwriting existing cells; use write_cells to modify existing data.
Instructions
Add rows below the last used row of a sheet. Never overwrites existing cells.
To change existing cells use write_cells.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sheet": "<sheet>",
"rows": "<rows>"
},
"name": "append_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path or preloaded name (list_configured_files). Omit if only one file is preloaded. | |
| rows | Yes | Rows to add, each a list of values from column A, e.g. [["INV-3", 7, "=B5*2"]]. Strings starting with "=" become formulas. | |
| sheet | Yes | Sheet name (case-sensitive). | |
| backup | No | Save a .bak copy first. Default: XLSX_MCP_AUTO_BACKUP (true). | |
| reason | No | Why; kept in the change log (XLSX_MCP_CHANGE_LOG=true). | |
| recalculate | No | Recompute formulas with LibreOffice after saving. False: faster, formula results stay empty. | |
| allow_external_formulas | No | Allow WEBSERVICE, HYPERLINK, INDIRECT, RTD, CALL, REGISTER and DDE ('|') in formulas. | |
| create_sheet_if_missing | No | Create the sheet if missing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||