edit_presentation
Edit an EXISTING presentation instead of regenerating it: change slide text, title, theme, add/remove/reorder slides. The deck is rebuilt from its saved spec and previously generated illustrations are reused without another illustration charge, so a text fix costs only the small render fee. Use it for ANY change request about a deck that already exists; generate_presentation is only for a brand-new deck. All "index" values are 0-based positions in the CURRENT deck. An illustration is redrawn (and billed) ONLY if you change that slide's image.prompt, list it in regenerate_images, or set regenerate_all_images=true. Returns request_id (prs_*) — poll with wait_generation until COMPLETED.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "edit_presentation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | New theme slug (same values as generate_presentation). | |
| title | No | New deck title. | |
| slides | No | Slide operations, applied in the order set → delete → insert → move. | |
| work_id | No | Presentation work id to edit. Omit to edit the latest completed deck of this account. | |
| language | No | New content language. | |
| regenerate_images | No | 0-based indexes (current deck) of slides whose illustration must be redrawn even though its prompt did not change. Each one costs credits. | |
| regenerate_all_images | No | Redraw every illustration ("replace all the images"). Full illustration price — never for a text-only edit. |