Build the .xlsx
build_workbookBuilds the real Excel workbook from an approved plan, filling every tab and block with labels, numbers, and working formulas while blocking until notes are closed and layouts approved.
Instructions
Build the real workbook from the approved plan. Supply content for every block on every tab, by plan block id: real labels, real numbers, working formulas (use {{blockId!Label}} / {{blockId!r,c}} / {{blockId!col:c}} references from get_plan so addresses resolve, including across sheets), rowFormats on a table whose rows are the metrics and colFormats on a table whose columns are the metrics. It refuses while notes are open or layouts are unapproved, takes every position from the plan rather than from this call, and returns one image per sheet to look at before the file goes to the user.
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": {
"project": "<project>",
"sheets": "<sheets>"
},
"name": "build_workbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| readme | No | Cover page text, used only when the approved plan has a tab named Read Me with no blocks; the builder writes the cover there | |
| sheets | Yes | ||
| project | Yes | ||
| fidelity | No | This build only, leaving the plan's setting alone. strict keeps the approved widths; balanced lets the builder fit a block to its content and align it to the sheet's block width, within two columns | |
| fileName | No | File name without extension. Default: project name |