Delete element
delete_elementDelete a shape, image, table, or other page element from a Google Slides presentation by object ID. Use the slide deletion tool instead to remove whole slides.
Instructions
Delete a shape, image, table or other page element. Use delete_slide to remove whole slides.
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>",
"objectId": "<objectId>"
},
"name": "delete_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectId | Yes | Page element object ID from get_slide | |
| presentationId | Yes | Presentation ID. Found in the Google Slides URL: docs.google.com/presentation/d/<ID>/edit |