Google Slides
Arcade toolkit · docs.arcade.dev
The Google Slides toolkit connects Arcade to Google Slides (and Drive) so LLMs can create, read, edit, comment on, and search presentations on behalf of a user.
Capabilities
- Deck creation & editing: Create presentations from scratch or derive branded decks from an existing template; apply atomic batches of edits (add/delete/restyle slides and elements, insert/replace text, reorder slides, duplicate objects, set speaker notes) in a single call.
- Read & snapshot: Retrieve a full addressable snapshot of any deck — object IDs, placeholder types, text, speaker notes, layout/master inventory — to feed the read-edit loop or answer questions about content.
- Visual preview: Render any slide to PNG (content URL or base64 data URI) at configurable sizes to verify layout, overflow, and branding before sharing.
- Comments & lifecycle: Add top-level comments or thread replies, list paginated comments newest-first, and resolve or reopen comment threads (with attribution).
- Drive search & file access: Full-text search across the user's Drive for presentations; generate a Google Drive inline file picker URL to request per-file access when a presentation is not found or access is denied.
- Account identity: Retrieve the connected Google account's profile (name, email, picture).
Tools10
GoogleSlides_CommentOnPresentation
Add a comment to a presentation, or reply within an existing comment thread. Comments are file-level, not anchored to a slide; to reference a slide, name it in the text. Pass reply_to_comment_id to post within that thread instead of starting a new comment.
GoogleSlides_CreateOrEditPresentation
Create a deck or apply a batch of edits to one, returning created object ids, replace counts, and a fresh addressable snapshot. Use this single tool for all deck construction and editing: add, delete, or restyle slides and elements, insert and replace text, and brand a deck in one batch. Reorder slides with an updateSlidesPosition request; duplicate a slide or element with a duplicateObject request. To set speaker notes, insertText into a slide's notes_object_id (surfaced per slide in the snapshot). To add a slide into a specific branded layout, first read the deck and consult the snapshot's layout inventory: each layout reports its placeholders (type, index, and object id), so you can pick a layout that already carries the title/body/other placeholders you intend to fill rather than guessing which layout holds what, and address a specific placeholder in placeholderIdMappings (by {type, index} or by layoutPlaceholderObjectId) even when a layout repeats a type. Read the snapshot to discover the object ids later edits target. The batch is atomic: one invalid request rejects the whole batch, so target object ids that exist in the snapshot. Object ids you assign to new objects are validated before the batch is sent.
GoogleSlides_CreatePresentationFromTemplate
Derive a new on-brand deck from an existing branded deck, preserving its masters, layouts, and theme, then optionally filling tokens. Use this instead of building from scratch when the user wants a deck in their company template; the new deck inherits the source's branding.
GoogleSlides_GenerateGoogleFilePickerUrl
Generate a URL where the user grants this app access to specific Drive files. Check status first. "unavailable" is not an error: either this app already reaches every presentation the connected account can open, so there is no per-file grant to request, or the picker is not configured here. Either way reason explains it, no URL exists, and a presentation that could not be read is one the account itself cannot open. Do not retry it. On "available", use this when a prior tool reported a file was not found or access was denied and the user expects the file to exist; after the user completes the picker, retry the prior tool. Opens Google's first-party Drive picker, not a sign-in prompt.
GoogleSlides_GetPresentation
Return an addressable snapshot of a deck: slide and element object ids, placeholder types, text, speaker notes, and the layout and master inventory. This is the read side of the read-edit loop: the object ids it returns are the addresses that edit requests target. Each layout in the inventory reports its placeholders with type, index, and object id, the identity a createSlide placeholderIdMappings entry needs (by {type, index} or by layoutPlaceholderObjectId), even when a layout repeats a placeholder type. What this response leaves out is reported in words by next_step, which is empty only when nothing was left out: read it before answering anything about slides it does not contain.
GoogleSlides_GetSlideThumbnail
Render one slide to a PNG. By default this returns a short-lived content URL and pixel size. Set include_image to get the PNG as a data URI so you can visually confirm layout, overflow, and branding before sharing. Use this after creating or editing a slide when you need a preview, not when you only need object ids or text. data_uri is omitted unless include_image is true; it is a PNG in the form data:image/png;base64,... Prefer SMALL or MEDIUM when including the image; LARGE occupies more of the context window.
GoogleSlides_ListPresentationComments
List a page of comments and their replies on a presentation, newest first.
GoogleSlides_ResolveComment
Close (resolve) or reopen a comment thread on a presentation. Posts an action reply on the thread, so the lifecycle change is attributed to the connected account; the thread's existing comments and replies are preserved.
GoogleSlides_SearchPresentations
Search the user's Drive for presentations, newest first by default. Keyword matching is full-text: a keyword matches a deck's body content as well as its title, so a deck can match on words that never appear in its title. A keyword search that matches nothing returns an empty list (not an error). An empty list is only a definitive no-match when next_step is empty. When next_step is set, the listing was not walked to its end and the pages it did not reach may hold the match, so do not report that no such presentation exists from that response alone.
GoogleSlides_WhoAmI
Return the connected Google account's profile (name, email, picture).