List presentations
readgoogle_slides.list_presentationsmcp: google_slides_list_presentations
List presentations Driftglass created or opened, newest first. Any other presentation works by its link.
| Argument | Type | Description |
|---|
| name_contains | string | Only files whose name contains this text. |
| page_size | integer | Files per page (1-100). Default: 25 |
| page_token | string | next_page_token from the previous page. |
curl -X POST https://driftglass.io/v1/tools/google_slides.list_presentations/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'Get presentation
readgoogle_slides.get_presentationmcp: google_slides_get_presentation
Get a presentation's slides with the id, type and text of every element (ids are what the edit actions take).
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
curl -X POST https://driftglass.io/v1/tools/google_slides.get_presentation/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>"}}'Read presentation text
readgoogle_slides.get_presentation_textmcp: google_slides_get_presentation_text
Read all the text in a presentation, slide by slide, including speaker notes.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
curl -X POST https://driftglass.io/v1/tools/google_slides.get_presentation_text/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>"}}'Get slide
readgoogle_slides.get_slidemcp: google_slides_get_slide
Get one slide's elements with their ids, types and text.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| slide_idrequired | string | Slide object id. |
curl -X POST https://driftglass.io/v1/tools/google_slides.get_slide/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","slide_id":"<slide_id>"}}'Get slide thumbnail
readgoogle_slides.get_slide_thumbnailmcp: google_slides_get_slide_thumbnail
Get a temporary PNG link showing what a slide looks like.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| slide_idrequired | string | Slide object id. |
| size | string SMALL | MEDIUM | LARGE | Thumbnail size. Default: MEDIUM |
curl -X POST https://driftglass.io/v1/tools/google_slides.get_slide_thumbnail/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","slide_id":"<slide_id>"}}'Create presentation
writegoogle_slides.create_presentationmcp: google_slides_create_presentation
Create an empty presentation (it starts with one title slide).
| Argument | Type | Description |
|---|
| titlerequired | string | Presentation title. |
curl -X POST https://driftglass.io/v1/tools/google_slides.create_presentation/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"title":"<title>"}}'Add slide
writegoogle_slides.add_slidemcp: google_slides_add_slide
Add a slide with a predefined layout, optionally filling its title and body text (body lines become bullet points on TITLE_AND_BODY).
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| layout | string TITLE | TITLE_AND_BODY | TITLE_AND_TWO_COLUMNS | TITLE_ONLY | SECTION_HEADER | SECTION_TITLE_AND_DESCRIPTION | ONE_COLUMN_TEXT | MAIN_POINT | BIG_NUMBER | CAPTION_ONLY | BLANK | Layout. Default: TITLE_AND_BODY |
| title | string | Title text. |
| body | string | Body text. |
| index | integer | Position (0 is first). Defaults to the end. |
| speaker_notes | string | Speaker notes. |
curl -X POST https://driftglass.io/v1/tools/google_slides.add_slide/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>"}}'Duplicate slide
writegoogle_slides.duplicate_slidemcp: google_slides_duplicate_slide
Duplicate a slide; the copy goes right after it.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| slide_idrequired | string | Slide to copy. |
curl -X POST https://driftglass.io/v1/tools/google_slides.duplicate_slide/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","slide_id":"<slide_id>"}}'Delete slide or element
writegoogle_slides.delete_slidemcp: google_slides_delete_slide
Delete a slide, or any element on a slide, by its object id.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| object_idrequired | string | Slide or element id. |
curl -X POST https://driftglass.io/v1/tools/google_slides.delete_slide/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","object_id":"<object_id>"}}'Move slides
writegoogle_slides.reorder_slidesmcp: google_slides_reorder_slides
Move one or more slides to a new position.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| slide_idsrequired | string[] | Slides to move, in their new order. |
| indexrequired | integer | Position to move them to (0 is first). |
curl -X POST https://driftglass.io/v1/tools/google_slides.reorder_slides/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","slide_ids":[],"index":1}}'Insert text
writegoogle_slides.insert_textmcp: google_slides_insert_text
Insert text into a shape or text box (by its object id), at the end or at a character position.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| object_idrequired | string | Shape object id. |
| textrequired | string | Text to insert. |
| insertion_index | integer | Character position (0 is the start). |
| replace_existing | boolean | Clear the shape's text first. Default: false |
curl -X POST https://driftglass.io/v1/tools/google_slides.insert_text/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","object_id":"<object_id>","text":"<text>"}}'Replace text
writegoogle_slides.replace_textmcp: google_slides_replace_text
Replace every occurrence of a text in the presentation (or given slides), e.g. fill {{placeholders}}.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| findrequired | string | Text to find. |
| replace_withrequired | string | Replacement. |
| match_case | boolean | Case-sensitive. Default: true |
| slide_ids | string[] | Only these slides. |
curl -X POST https://driftglass.io/v1/tools/google_slides.replace_text/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","find":"<find>","replace_with":"<replace_with>"}}'Insert image
writegoogle_slides.insert_imagemcp: google_slides_insert_image
Place an image from a public URL on a slide. Position and size are in points from the top-left corner (a default slide is 720 x 405 pt).
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| slide_idrequired | string | Slide to place it on. |
| image_urlrequired | string | Public PNG, JPEG or GIF URL. |
| x_pt | number | Left edge in points. Default: 72 |
| y_pt | number | Top edge in points. Default: 72 |
| width_pt | number | Width in points. Default: 288 |
| height_pt | number | Height in points. Default: 216 |
curl -X POST https://driftglass.io/v1/tools/google_slides.insert_image/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","slide_id":"<slide_id>","image_url":"<image_url>"}}'Replace placeholder shapes with an image
writegoogle_slides.replace_shapes_with_imagemcp: google_slides_replace_shapes_with_image
Replace every shape containing a text (e.g. {{logo}}) with an image from a public URL.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| findrequired | string | Text inside the shapes to replace. |
| image_urlrequired | string | Public image URL. |
| fit | string CENTER_INSIDE | CENTER_CROP | How the image fills the shape. Default: CENTER_INSIDE |
curl -X POST https://driftglass.io/v1/tools/google_slides.replace_shapes_with_image/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","find":"<find>","image_url":"<image_url>"}}'Create table
writegoogle_slides.create_tablemcp: google_slides_create_table
Add a table to a slide, optionally filled with rows of text.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| slide_idrequired | string | Slide to place it on. |
| rowsrequired | integer | Rows. |
| columnsrequired | integer | Columns. |
| values | array[] | Cell text, row by row. |
curl -X POST https://driftglass.io/v1/tools/google_slides.create_table/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","slide_id":"<slide_id>","rows":1,"columns":1}}'Style text
writegoogle_slides.update_text_stylemcp: google_slides_update_text_style
Style all the text in a shape: bold, italic, size, color or link.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| object_idrequired | string | Shape object id. |
| bold | boolean | Bold. |
| italic | boolean | Italic. |
| underline | boolean | Underline. |
| font_size | number | Font size in points. |
| font_family | string | Font family, e.g. Roboto. |
| color | string | Text color as #RRGGBB. |
| link_url | string | Make the text a link to this URL. |
curl -X POST https://driftglass.io/v1/tools/google_slides.update_text_style/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","object_id":"<object_id>"}}'Batch update (advanced)
writegoogle_slides.batch_updatemcp: google_slides_batch_update
Send raw Google Slides API batchUpdate requests, for changes the other actions do not cover. See developers.google.com/slides/api/reference/rest/v1/presentations/request.
| Argument | Type | Description |
|---|
| presentation_idrequired | string | Presentation: The file id, or its full docs.google.com link. |
| requestsrequired | object[] | Slides API request objects. |
curl -X POST https://driftglass.io/v1/tools/google_slides.batch_update/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"presentation_id":"<presentation_id>","requests":[]}}'