build_xlsx_workbook
Build Excel workbooks from JSON data with typed columns, multiple sheets, formatting, filters, and frozen headers; returns an .xlsx file or download URL for agent-generated reports.
Instructions
pdfpeek: Build an Excel workbook from JSON. To read a workbook back use convert_excel_to_json; for slides use build_pptx_deck. Returns file (.xlsx) and sheet_summary. Explicit columns drop extra keys unless reject_extra_keys=true (uncharged 422). Quoted integers must be whole numbers. Bad integers or misplaced commas: uncharged 422 invalid_cell. No formulas. Max 32,767 chars/cell; sheet names: max 31, no [ ] : * ? / . Typically under 1 s. Price: USD 0.005. No free tier. Docs: https://tanod.dev/learn/xlsx-build-api.html
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": {
"sheets": "<sheets>"
},
"name": "build_xlsx_workbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | base64 (default): inline. url: stored for 24 hours; link, metadata. | base64 |
| sheets | Yes | Ordered, uniquely named sheets. Max 50,000 cells; object rows with extra keys count those keys. | |
| filename | No | Defaults to workbook.xlsx; adds .xlsx. Keeps letters, digits, spaces, dots, dashes and underscores. | |
| reject_extra_keys | No | Reject keys not in explicit columns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| rows | No | ||
| cells | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| sheets | No | ||
| operation | No | ||
| output_bytes | No | ||
| sheet_summary | No | ||
| formula_like_strings | No |