Add several slides
add_slidesAdd several slides at once to a presentation you may edit, at the end or from "position" (1-based) on. Each slide is {"name", "w", "h", "bg", "fit", "transition", "transition_duration", "background", "objects": [blocks]}. A link {"kind": "slide", "slide_number": N} counts the slides of the presentation as they are after the insertion, so new slides may lead to each other. Returns the new slides (ids only unless "response" is "full").
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": {
"slug": "<slug>",
"slides": "<slides>"
},
"name": "add_slides"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The presentation's slug (its address: /movie/<slug>/). | |
| slides | Yes | The slides: [{"name", "w", "h", "bg", "fit", "transition", "transition_duration", "background", "objects"}]. | |
| position | No | 1-based place of the first new slide; default: the end. | |
| response | No | "brief" (default): only the ids, numbers and types of the slides and blocks; "full": every prop of every block too. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | Slides in the presentation now. | |
| slides | Yes | The new slides. |