ingest_modify_component
Ingests a single-component edit: validates, applies to one element, saves, renders, and returns the slide HTML path for sharing.
Instructions
Ingests a single-component edit: validate, apply to exactly one element, save, render.
Call AFTER a prepare_modify_component that returned stage="modify".
Args: project_id: Target project ID (required). slide_index: 1-based slide position. component_id: Target component id (same as prepare). modify_json: The ComponentModify JSON generated by the client. color_theme: Color theme ("dark" or "light").
Returns: JSON with modified_element, slide_html_path, optional lint.
After this call, share the returned slide_html_path with the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| color_theme | No | dark | |
| modify_json | Yes | ||
| slide_index | Yes | ||
| component_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |