update_slide
Replace a slide's content by passing a presentation ID, slide index, and a new elements array. Use it to update existing slides when text or element positions change.
Instructions
Update a slide's content. Replaces elements array entirely.
Design rules:
backgroundColor: ALWAYS "default"
font: ALWAYS "default"
Text color: ALWAYS "default"
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": {
"presentationId": "<presentationId>",
"slideIndex": "<slideIndex>"
},
"name": "update_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | No | Array of elements. Each MUST have id, type, and position {x,y,width,height} | |
| slideIndex | Yes | Index of the slide to update (0-indexed) | |
| presentationId | Yes | The presentation ID | |
| backgroundColor | No | ALWAYS "default" |