Edit a deck
edit_deckApplies a list of changes to a deck: replace, update, insert, delete or move slides by id; set the title, theme, mode, minutes or theme_overrides; add or change values and interactions. Changes that can't be applied are skipped and reported, the rest are saved. A slide whose new version fails its check keeps its old version. Returns the slide list with ids and the check result.
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>",
"changes": "<changes>"
},
"name": "edit_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | Applied in order. Each is one of: {"op":"replace","id":"s4","slide":{…}} a whole new slide in place of s4; {"op":"update","id":"s4","fields":{"title":"…"}} change some fields (null removes one); {"op":"insert","slide":{…} or "slides":[…],"after":"s3"} (or "before":"s3"; neither = at the end); {"op":"delete","id":"s4"}; {"op":"move","id":"s4","after":"s9"} (or "before"; "to":"start"/"end"); {"op":"hide","id":"s4"} or "ids":["s4","s5"]: kept in the deck and the preview, skipped when presenting; {"op":"show",…} brings them back (the same as updating "hidden"); {"op":"set","title":…,"theme":…,"mode":…,"minutes":…,"dir":"rtl","signals":true} deck fields; {"op":"set","theme_overrides":{"accent":"#1f5fd6"}} theme adjustments, merged key by key (null removes a key; "theme_overrides":null removes them all); {"op":"values","values":{"name":12,"other":"name * 2"}} add or change values (null removes); {"op":"interaction","interaction":{"id":"q1",…}} add or replace one; {"op":"delete_interaction","id":"q1"} | |
| deck_id | Yes |