Setup
If you haven’t set up Google OAuth yet, complete the Google OAuth Setup first.Enable the Google Slides API
In your Google Cloud project, navigate to APIs & Services → Library, search for Google Slides API, and click Enable.
Authorize Access
Available Actions
create_presentation: Create a new presentation with an optional titleget_presentation: Retrieve presentation metadata (title, slide count, element IDs)get_thumbnail: Get a thumbnail image URL for a specific slidecreate_slide: Add a new slide at a specified position with an optional layoutdelete_object: Delete a slide or page element by its object IDinsert_text: Insert text into a text box or shape at a specific indexdelete_text: Delete a range of text from a text elementreplace_all_text: Find and replace text across all slides in the presentationcreate_shape: Insert a shape (rectangle, ellipse, arrow, etc.) onto a slideinsert_image: Insert an image from a URL onto a slide at specified dimensions and positionformat_text: Apply character formatting (bold, italic, font size, color) to a text rangeformat_paragraph: Apply paragraph alignment and spacing to a text rangereplace_shapes_with_image: Replace all shapes matching a tag with an image URLbatch_update: Send multiple slide update requests in a single API call
Example Usage
Once configured, you can ask your agent things like:- “Create a new presentation called ‘Q3 Roadmap’”
- “Add a title slide with the heading ‘Annual Review 2025’”
- “Replace all occurrences of ‘[COMPANY]’ with ‘Acme Corp’ across the deck”
- “Insert our logo image on slide 1 at the top-right corner”
- “Get a thumbnail of slide 3 so I can preview it”
- “Delete the last two slides from the deck”
Working with Object IDs
Every element in a Google Slides presentation (slides, text boxes, shapes, images) has a unique object ID. Useget_presentation to retrieve the IDs of existing slides and elements before targeting them with update operations.