ingest_modify_component
Validates, applies, saves, and renders a single-component edit to exactly one slide element after preparing a modify stage, returning the updated slide HTML path.
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. edit_context: Opaque context returned by prepare_modify_component. 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.
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>",
"component_id": "<component_id>",
"modify_json": "<modify_json>",
"edit_context": "<edit_context>"
},
"name": "ingest_modify_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| color_theme | No | dark | |
| modify_json | Yes | ||
| slide_index | Yes | ||
| component_id | Yes | ||
| edit_context | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |