finalize_design_spec
Finalize a presentation deck by building slides.html and performing lint validation after all design slides have been ingested. Requires project_id and optional overflow items.
Instructions
Finalizes a freshly generated deck: builds slides.html, runs deck-wide lint.
No LLM call. Call ONCE after all slides have been ingested via
ingest_design_slide. Pass the collected overflow items (if any) as JSON.
Args: project_id: Project ID (required). overflow_json: JSON array of overflow items collected from ingest calls (optional, "" if none).
Returns: JSON with design_spec_dir, slide_count, slides_html_path, lint, overflow.
IMPORTANT — Required follow-up: call export_html(project_id=<project_id>)
and share slides_html_path with 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_id": "<project_id>"
},
"name": "finalize_design_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| overflow_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |