ingest_design_slide
Validates, normalizes, saves, renders, and lints a client-generated slide spec, returning slide file and HTML paths plus lint/overflow feedback for presentation assembly.
Instructions
Ingests the client-generated slide spec: validate, normalize, save, render, lint.
Call AFTER prepare_design_slide with the spec JSON you generated.
Args: project_id: Project ID (required). slide_index: 1-based slide number (same as prepare). spec_json: The slide spec JSON generated by the client, matching the schema. generation_context: Opaque token returned by prepare_design_slide. color_theme: Color theme ("dark" or "light").
Returns: JSON with status, slide_file, slide_html_path, optional lint and overflow.
After ingesting ALL slides, call finalize_design_spec once.
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>",
"slide_index": "<slide_index>",
"spec_json": "<spec_json>",
"generation_context": "<generation_context>"
},
"name": "ingest_design_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_json | Yes | ||
| project_id | Yes | ||
| color_theme | No | dark | |
| slide_index | Yes | ||
| generation_context | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |