Build the .pptx
build_deckGenerates the final slide deck from an approved plan, filling each block with real content by type and returning slide images for review. Use it after note threads are closed and layouts approved.
Instructions
Build the real deck from the approved plan: a headline per slide and, by plan block id, the real content for that block's type (text paragraphs, bullet items, cards {header, sub, body}, stats {value, label}, chart {kind, categories, series}, diagram {kind, nodes, edges}, table {headers, rows}, quote, takeaway, image or placeholder label). Diagram rules: one idea per diagram; 3 to 7 nodes; every edge carries a verb; a flow or timeline reads left to right and a tree top to bottom; no decorative shapes; a timeline puts the date in each node label; a matrix takes exactly six nodes, the two axis labels then the four cells; where the style bans shape diagrams the builder draws a labelled placeholder instead. Positions and types come from the plan, not from this call, fidelity here overrides the plan's own setting for this one build, and it refuses while a thread is open or a layout is unapproved: when the deck check reports something, fix the plan with update_plan and call build_deck again, never hand-build the deck or replace the file, and look at the slide images this result carries so the next fix answers what a reader would notice.
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>",
"slides": "<slides>"
},
"name": "build_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slides | Yes | One entry per plan slide, in any order; the deck is built in plan order | |
| project | Yes | ||
| fidelity | No | This build only, leaving the plan's setting alone. strict keeps the approved geometry exactly. balanced lets the builder resize within two cells, balance whitespace and align edges. loose lets it re-pick the layout from the content. | |
| fileName | No | File name without extension. Default: project name | |
| exportPdf | No | Also write a PDF beside the deck when LibreOffice is installed |