build_xlsx_workbook
pdfpeek: Build a styled Excel workbook from JSON sheets, columns and rows. To read a workbook back use convert_excel_to_json; for slides use build_pptx_deck. Rows are arrays or objects. Numeric types parse numeric strings; integers of 16 or more digits are stored as text to keep every digit. Send identifiers as strings with type string. Formulas are never written. At most 20 sheets, 50,000 cells, 32,767 characters per cell; sheet names of at most 31 characters without [ ] : * ? / . Over a limit is a 422 (not charged). 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 | The sheets, in order: 1-20, each with a unique name, optional typed columns and rows (at most 50,000 cells in all; an object row with more keys than columns counts its keys). | |
| filename | No | Name of the returned file (default workbook.xlsx; .xlsx is added when missing; only letters, digits, space, dot, dash and underscore are kept). |
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 |