Excel Create
excel_createCreates a new Excel spreadsheet (.xlsx file) with headers and optional data rows. JSON numbers (integers and decimals) are written as numbers, so SUM() and charts work on them; JSON strings always stay text even when they look numeric ("007", "1e3", or " 42"), as do integer values longer than 10 digits because they are identifiers like a CUIT, CBU or phone number rather than quantities. JSON booleans are written as boolean cells. A string that starts with "=" is written as text, not a formula — use excel_write_cell to put a formula in a cell.
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": {
"path": "<path>",
"headers": "<headers>"
},
"name": "excel_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output path for the .xlsx file | |
| rows | No | Array of ROW ARRAYS — each row is itself an array of cell values (optional) | |
| confirm | No | Ignored; kept for older clients. | |
| headers | Yes | Column headers | |
| overwrite | No | Required (with confirm) to REPLACE a file that already exists at path. Without it an existing file is never touched. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the created .xlsx file | |
| rows | Yes | Number of data rows written | |
| created | Yes | True when the file was created | |
| headers | Yes | Column headers written |