Insert columns
insert_columnsInsert blank columns at a specified position in an Excel sheet, shifting existing columns to the right to make room.
Instructions
Insert blank columns before start_column; columns to the right move right.
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>",
"start_column": "<start_column>"
},
"name": "insert_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path or preloaded name (list_configured_files). Omit if only one file is preloaded. | |
| count | No | How many to insert or delete. | |
| 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. | |
| start_column | Yes | 1-based column number (A=1, B=2, ...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||