Driftglass
← All integrations

Google Slides

Documents

Let agents build Google Slides decks: create presentations, add and reorder slides, fill text, tables and images, and replace placeholders in any deck you share by link.

Actions

17 actions. Call one with POST /v1/tools/{name}/execute or through /mcp.

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.

ArgumentTypeDescription
name_containsstringOnly files whose name contains this text.
page_sizeintegerFiles per page (1-100). Default: 25
page_tokenstringnext_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).

ArgumentTypeDescription
presentation_idrequiredstringPresentation: 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.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: 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.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
slide_idrequiredstringSlide 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.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
slide_idrequiredstringSlide object id.
sizestring
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).

ArgumentTypeDescription
titlerequiredstringPresentation 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).

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
layoutstring
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
titlestringTitle text.
bodystringBody text.
indexintegerPosition (0 is first). Defaults to the end.
speaker_notesstringSpeaker 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.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
slide_idrequiredstringSlide 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.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
object_idrequiredstringSlide 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.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
slide_idsrequiredstring[]Slides to move, in their new order.
indexrequiredintegerPosition 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.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
object_idrequiredstringShape object id.
textrequiredstringText to insert.
insertion_indexintegerCharacter position (0 is the start).
replace_existingbooleanClear 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}}.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
findrequiredstringText to find.
replace_withrequiredstringReplacement.
match_casebooleanCase-sensitive. Default: true
slide_idsstring[]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).

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
slide_idrequiredstringSlide to place it on.
image_urlrequiredstringPublic PNG, JPEG or GIF URL.
x_ptnumberLeft edge in points. Default: 72
y_ptnumberTop edge in points. Default: 72
width_ptnumberWidth in points. Default: 288
height_ptnumberHeight 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.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
findrequiredstringText inside the shapes to replace.
image_urlrequiredstringPublic image URL.
fitstring
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.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
slide_idrequiredstringSlide to place it on.
rowsrequiredintegerRows.
columnsrequiredintegerColumns.
valuesarray[]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.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
object_idrequiredstringShape object id.
boldbooleanBold.
italicbooleanItalic.
underlinebooleanUnderline.
font_sizenumberFont size in points.
font_familystringFont family, e.g. Roboto.
colorstringText color as #RRGGBB.
link_urlstringMake 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.

ArgumentTypeDescription
presentation_idrequiredstringPresentation: The file id, or its full docs.google.com link.
requestsrequiredobject[]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":[]}}'