prepare_slide_edit
Prepares a single slide addition or update without changing project files, returning the prompt, schema, and edit context required to generate and ingest the slide spec.
Instructions
Prepares to add or update ONE slide without changing project files.
No LLM call. Returns the slide generation prompt, response_schema, and an
immutable edit_context. Generate the slide spec JSON, then call
ingest_slide_edit with the SAME action, slide_index, and edit_context.
For narrow single-element tweaks, use prepare_modify_component instead.
Args: project_id: Target project ID (required). action: "add" | "update". slide_index: 1-based position. add: insertion point (-1 = end). update: target. title: Slide title (required for add; required for update on imported projects). content_summary: Content description (required for add; required for update on imported). component_hint: Layout hint (default: "bullets"). slide_type: "title" | "content" | "closing" | "agenda" (default: "content"). speaker_notes: Optional speaker notes. color_theme: Color theme ("dark" or "light").
Returns: JSON with prompts, response_schema, action, project_id, edit_context.
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>",
"action": "<action>"
},
"name": "prepare_slide_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| action | Yes | ||
| project_id | Yes | ||
| slide_type | No | content | |
| color_theme | No | dark | |
| slide_index | No | ||
| speaker_notes | No | ||
| component_hint | No | bullets | |
| content_summary | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |