delete_slides_element
Delete any object (slide, shape, text box, image, table, chart, video, or line) from a Google Slides presentation using its object ID.
Instructions
Delete any object from a Google Slides presentation by its object ID.
Works on any deletable object: an entire slide, a shape, a text box, an image, a table, a chart, a video, a line, etc. Passing a slide's object ID removes the whole slide (and everything on it). Passing a page element's object ID removes only that element. Deletion is permanent via API — use the Slides UI's undo if you need to recover.
Requires OAuth scope: https://www.googleapis.com/auth/presentations (write).
Not idempotent: re-calling with the same ID after success returns an
error because the object no longer exists.
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": {
"user_google_email": "<user_google_email>",
"presentation_id": "<presentation_id>",
"object_id": "<object_id>"
},
"name": "delete_slides_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| presentation_id | Yes | Google Slides presentation ID (from the URL after `/d/`). | |
| object_id | Yes | Object ID of the slide or page element to delete. Get slide IDs from `get_presentation.slides[].objectId`. Get element IDs from `get_presentation.slides[].pageElements[].objectId` or from the return value of creator tools (`create_slides_shape`, `insert_slides_image`, etc.). Cannot delete master/layout pages. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |