Remove objects
remove_objectsRemove objects from a slide by id. Requires a Pro account. The slide, its slots and the other objects stay. Only objects can be removed here; slides and templates are deleted on the web. If any id is not on the slide, or one is locked (unlock it with update_objects first), nothing is removed. Returns the objects that remain and the new draft_version. The edit is saved to the template's draft; call publish_template to publish it. Errors: pro_required, not_found, conflict (read again with get_template(draft: true) and retry), invalid_input.
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": {
"template_id": "<template_id>",
"slide_id": "<slide_id>",
"ids": "<ids>"
},
"name": "remove_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Object ids to remove, from get_template. | |
| slide_id | Yes | The slide's id from get_template. | |
| template_id | Yes | From list_templates. | |
| expected_version | No | Older callers: the published version from get_template. Given, the call fails with conflict if the template was published since. | |
| expected_draft_version | No | The draft_version from get_template(draft: true) or your last save (0: no draft yet). Given, the call fails with conflict if the draft changed since. |