Edit presentation
edit_deckEdit a presentation with a batch of ops, and optionally rename it (name). add_slide / replace_slide take a layout and its slots, and Draftt places everything on the 1920x1080 slide. Also delete_slide, move_slide, set_background, set_hidden (a hidden slide stays in the deck but is skipped when presenting and on public links), and for fine adjustments add_element / update_element / delete_element (boxes in slide px; a line shape can carry arrowheads; type chart adds a real, editable chart: column, bar, line, area, pie or donut). get_deck gives the slide ids. The response lists warnings for every slide touched (overflow, overlaps, text off the slide).
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": {
"deck_id": "<deck_id>"
},
"name": "edit_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | No | Applied in order, no rollback. On failure the response says which ops applied so you can retry only the rest. | |
| name | No | Rename the presentation | |
| theme | No | Deck colors and fonts for layout slides. Pass the same theme on every call that builds slides of one deck. | |
| deck_id | Yes | Presentation to edit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| action | Yes | ||
| changed | No | ||
| resource | Yes |