ingest_design_slide
Ingests a slide specification: validates, normalizes, saves, renders, and lints the slide. Called for each slide after prepare_design_slide.
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. 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_json | Yes | ||
| project_id | Yes | ||
| color_theme | No | dark | |
| slide_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |