Create table
create_tableConvert a header range into a formatted Excel Table with optional filter buttons, styles, and row stripes for filterable structured data.
Instructions
Turn a range into a formatted Excel Table (ListObject) with optional filter buttons.
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>",
"cell_range": "<cell_range>",
"table_name": "<table_name>"
},
"name": "create_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path or preloaded name (list_configured_files). Omit if only one file is preloaded. | |
| 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). | |
| cell_range | Yes | Range including the header row, e.g. "A1:D10". Headers must be non-empty and unique. | |
| style_name | No | Excel table style, e.g. "TableStyleMedium9". | TableStyleMedium9 |
| table_name | Yes | Workbook-unique name: letters, digits, _ or ., starting with a letter or _. | |
| show_filter | No | Show filter buttons in the header row. | |
| show_row_stripes | No | Shade alternate rows. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||