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.
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 |