Use Google Slides in Sim to build and update presentations from templates or workflow data. Copy a template, replace text and images, embed Sheets charts, style text and shapes, manage tables and layouts, apply batch updates, and export to PDF or PPTX.
Sim requests these scopes when someone connects a Google Drive account. For a self-hosted deployment, register your own app with the provider using the settings below. See Integrations and OAuth for setup.
Setting Value Redirect URI <NEXT_PUBLIC_APP_URL>/api/auth/oauth2/callback/google-driveEnvironment variables GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET
Scope Description https://www.googleapis.com/auth/userinfo.emailView email address https://www.googleapis.com/auth/userinfo.profileView basic profile info https://www.googleapis.com/auth/drive.fileView and manage Google Drive files you open or create with Sim https://www.googleapis.com/auth/driveView, edit, create, and delete all Google Drive files
Build, edit, and export branded Google Slides presentations end-to-end. Copy a template, replace text and image tokens, embed Sheets charts, style text and shapes with brand fonts and colors, manage tables and layouts, group elements, run atomic batch updates, and export to PDF or PPTX.
Read content from a Google Slides presentation
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID
Parameter Type Description slidesjson Array of slides with their content metadatajson Presentation metadata including ID, title, and URL ↳ presentationId string The presentation ID ↳ title string The presentation title ↳ pageSize object Presentation page size ↳ width json Page width as a Dimension object ↳ height json Page height as a Dimension object ↳ mimeType string The mime type of the presentation ↳ url string URL to open the presentation
Write or update content in a Google Slides presentation
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID contentstring Yes The content to write to the slide slideIndexnumber No The index of the slide to write to (defaults to first slide)
Parameter Type Description updatedContentboolean Indicates if presentation content was updated successfully metadatajson Updated presentation metadata including ID, title, and URL ↳ presentationId string The presentation ID ↳ title string The presentation title ↳ mimeType string The mime type of the presentation ↳ url string URL to open the presentation
Create a new Google Slides presentation
Inputs and outputsParameter Type Required Description titlestring Yes The title of the presentation to create contentstring No The content to add to the first slide folderSelectorstring No Google Drive folder ID to create the presentation in (e.g., 1ABCxyz...) folderIdstring No The ID of the folder to create the presentation in (internal use)
Parameter Type Description metadatajson Created presentation metadata including ID, title, and URL ↳ presentationId string The presentation ID ↳ title string The presentation title ↳ mimeType string The mime type of the presentation ↳ url string URL to open the presentation
Find and replace all occurrences of text throughout a Google Slides presentation
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID findTextstring Yes The text to find (e.g., {{placeholder}}) replaceTextstring Yes The text to replace with matchCaseboolean No Whether the search should be case-sensitive (default: true) pageObjectIdsstring No Comma-separated list of slide object IDs to limit replacements to specific slides (leave empty for all slides)
Parameter Type Description occurrencesChangednumber Number of text occurrences that were replaced metadatajson Operation metadata including presentation ID and URL ↳ presentationId string The presentation ID ↳ findText string The text that was searched for ↳ replaceText string The text that replaced the matches ↳ url string URL to open the presentation
Add a new slide to a Google Slides presentation with a specified layout
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID layoutstring No The predefined layout for the slide (BLANK, TITLE, TITLE_AND_BODY, TITLE_ONLY, SECTION_HEADER, etc.). Defaults to BLANK. insertionIndexnumber No The optional zero-based index indicating where to insert the slide. If not specified, the slide is added at the end. placeholderIdMappingsstring No JSON array of placeholder mappings to assign custom object IDs to placeholders. Format: [{"layoutPlaceholder":{"type":"TITLE"},"objectId":"custom_title_id"}]
Parameter Type Description slideIdstring The object ID of the newly created slide metadatajson Operation metadata including presentation ID, layout, and URL ↳ presentationId string The presentation ID ↳ layout string The layout used for the new slide ↳ insertionIndex number The zero-based index where the slide was inserted ↳ url string URL to open the presentation
Insert an image into a specific slide in a Google Slides presentation
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID pageObjectIdstring Yes The object ID of the slide/page to add the image to imageUrlstring Yes The publicly accessible URL of the image (must be PNG, JPEG, or GIF, max 50MB) widthnumber No Width of the image in points (default: 300) heightnumber No Height of the image in points (default: 200) positionXnumber No X position from the left edge in points (default: 100) positionYnumber No Y position from the top edge in points (default: 100)
Parameter Type Description imageIdstring The object ID of the newly created image metadatajson Operation metadata including presentation ID and image URL ↳ presentationId string The presentation ID ↳ pageObjectId string The page object ID where the image was inserted ↳ imageUrl string The source image URL ↳ url string URL to open the presentation
Generate a thumbnail image of a specific slide in a Google Slides presentation
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID pageObjectIdstring Yes The object ID of the slide/page to get a thumbnail for thumbnailSizestring No The size of the thumbnail: SMALL (200px), MEDIUM (800px), or LARGE (1600px). Defaults to MEDIUM. mimeTypestring No The MIME type of the thumbnail image: PNG. Defaults to PNG.
Parameter Type Description contentUrlstring URL to the thumbnail image (valid for 30 minutes) widthnumber Width of the thumbnail in pixels heightnumber Height of the thumbnail in pixels metadatajson Operation metadata including presentation ID and page object ID ↳ presentationId string The presentation ID ↳ pageObjectId string The page object ID for the thumbnail ↳ thumbnailSize string The requested thumbnail size ↳ mimeType string The thumbnail MIME type
Get detailed information about a specific slide/page in a Google Slides presentation
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID pageObjectIdstring Yes The object ID of the slide/page to retrieve
Parameter Type Description objectIdstring The object ID of the page pageTypestring The type of page (SLIDE, MASTER, LAYOUT, NOTES, NOTES_MASTER) pageElementsarray Array of page elements (shapes, images, tables, etc.) on this page slidePropertiesobject Properties specific to slides (layout, master, notes) ↳ layoutObjectId string Object ID of the layout this slide is based on ↳ masterObjectId string Object ID of the master this slide is based on ↳ notesPage json The notes page associated with the slide metadataobject Operation metadata including presentation ID and URL ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Delete a page element (shape, image, table, etc.) or an entire slide from a Google Slides presentation
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes The object ID of the element or slide to delete
Parameter Type Description deletedboolean Whether the object was successfully deleted objectIdstring The object ID that was deleted metadataobject Operation metadata including presentation ID and URL ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Duplicate an object (slide, shape, image, table, etc.) in a Google Slides presentation
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes The object ID of the element or slide to duplicate objectIdsstring No Optional JSON object mapping source object IDs (within the slide being duplicated) to new object IDs for the duplicates. Format: {"sourceId1":"newId1","sourceId2":"newId2"}
Parameter Type Description duplicatedObjectIdstring The object ID of the newly created duplicate metadataobject Operation metadata including presentation ID and source object ID ↳ presentationId string The presentation ID ↳ sourceObjectId string The original object ID that was duplicated ↳ url string URL to the presentation
Move one or more slides to a new position in a Google Slides presentation
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID slideObjectIdsstring Yes Comma-separated list of slide object IDs to move. The slides will maintain their relative order. insertionIndexnumber Yes The zero-based index where the slides should be moved. All slides with indices greater than or equal to this will be shifted right.
Parameter Type Description movedboolean Whether the slides were successfully moved slideObjectIdsarray The slide object IDs that were moved insertionIndexnumber The index where the slides were moved to metadataobject Operation metadata including presentation ID and URL ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Create a new table on a slide in a Google Slides presentation
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID pageObjectIdstring Yes The object ID of the slide/page to add the table to rowsnumber Yes Number of rows in the table (minimum 1) columnsnumber Yes Number of columns in the table (minimum 1) widthnumber No Width of the table in points (default: 400) heightnumber No Height of the table in points (default: 200) positionXnumber No X position from the left edge in points (default: 100) positionYnumber No Y position from the top edge in points (default: 100)
Parameter Type Description tableIdstring The object ID of the newly created table rowsnumber Number of rows in the table columnsnumber Number of columns in the table metadataobject Operation metadata including presentation ID and page object ID ↳ presentationId string The presentation ID ↳ pageObjectId string The page object ID where the table was created ↳ url string URL to the presentation
Create a shape (rectangle, ellipse, text box, arrow, etc.) on a slide in a Google Slides presentation
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID pageObjectIdstring Yes The object ID of the slide/page to add the shape to shapeTypestring Yes The type of shape to create. Common types: TEXT_BOX, RECTANGLE, ROUND_RECTANGLE, ELLIPSE, TRIANGLE, DIAMOND, STAR_5, ARROW_EAST, HEART, CLOUD widthnumber No Width of the shape in points (default: 200) heightnumber No Height of the shape in points (default: 100) positionXnumber No X position from the left edge in points (default: 100) positionYnumber No Y position from the top edge in points (default: 100)
Parameter Type Description shapeIdstring The object ID of the newly created shape shapeTypestring The type of shape that was created metadataobject Operation metadata including presentation ID and page object ID ↳ presentationId string The presentation ID ↳ pageObjectId string The page object ID where the shape was created ↳ url string URL to the presentation
Insert text into a shape or table cell in a Google Slides presentation. Use this to add text to text boxes, shapes, or table cells.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes The object ID of the shape or table cell to insert text into. For table cells, use the cell object ID. textstring Yes The text to insert insertionIndexnumber No The zero-based index at which to insert the text. If not specified, text is inserted at the beginning (index 0).
Parameter Type Description insertedboolean Whether the text was successfully inserted objectIdstring The object ID where text was inserted textstring The text that was inserted metadataobject Operation metadata including presentation ID and URL ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Update the styling of text in a shape or table cell (bold, italic, font family, font size, foreground/background color, link, etc.). Only the fields you set are applied.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the shape or table containing the text rowIndexnumber No When targeting a table cell, the zero-based row index columnIndexnumber No When targeting a table cell, the zero-based column index rangeTypestring No Range to style: ALL (default), FROM_START_INDEX, or FIXED_RANGE startIndexnumber No Start index for FROM_START_INDEX or FIXED_RANGE endIndexnumber No End index for FIXED_RANGE boldboolean No Whether the text is bold italicboolean No Whether the text is italic underlineboolean No Whether the text is underlined strikethroughboolean No Whether the text has strikethrough smallCapsboolean No Whether the text is rendered in small caps fontFamilystring No Font family name (must be a font available to Google Slides) fontSizenumber No Font size in points foregroundColorstring No Text color as hex (e.g. #1A73E8) backgroundColorstring No Text background color as hex (e.g. #FFF8E1) linkUrlstring No Convert the range to a hyperlink with this URL baselineOffsetstring No Baseline offset: NONE, SUPERSCRIPT, or SUBSCRIPT styleJsonstring No Advanced: raw TextStyle JSON merged with the simple fields above (overrides them on conflict) fieldsstring No Advanced: explicit FieldMask. If omitted, the mask is computed from the fields you provided (or "*" when styleJson is used without explicit fields).
Parameter Type Description updatedboolean Whether the text style was updated objectIdstring The object whose text was styled fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Update paragraph styling — alignment, line spacing, indents, space above/below — for text in a shape or table cell.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the shape or table containing the text rowIndexnumber No When targeting a table cell, the zero-based row index columnIndexnumber No When targeting a table cell, the zero-based column index rangeTypestring No Range to style: ALL (default), FROM_START_INDEX, or FIXED_RANGE startIndexnumber No Start index for FROM_START_INDEX or FIXED_RANGE endIndexnumber No End index for FIXED_RANGE alignmentstring No Text alignment: START, CENTER, END, or JUSTIFIED lineSpacingnumber No Line spacing as a percentage (100 = single, 200 = double) indentStartnumber No Start-edge indent in points indentEndnumber No End-edge indent in points indentFirstLinenumber No First-line indent in points spaceAbovenumber No Space above the paragraph in points spaceBelownumber No Space below the paragraph in points directionstring No Text direction: LEFT_TO_RIGHT or RIGHT_TO_LEFT spacingModestring No Spacing mode: NEVER_COLLAPSE or COLLAPSE_LISTS styleJsonstring No Advanced: raw ParagraphStyle JSON merged with the simple fields above fieldsstring No Advanced: explicit FieldMask. If omitted, computed from provided fields.
Parameter Type Description updatedboolean Whether the paragraph style was updated objectIdstring The object whose paragraph was styled fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Delete text from a shape or table cell. Use range type ALL to clear all text, or FIXED_RANGE / FROM_START_INDEX to delete a specific span.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the shape or table containing the text rowIndexnumber No When targeting a table cell, the zero-based row index columnIndexnumber No When targeting a table cell, the zero-based column index rangeTypestring No Range to delete: ALL (default), FROM_START_INDEX, or FIXED_RANGE startIndexnumber No Start index for FROM_START_INDEX or FIXED_RANGE endIndexnumber No End index for FIXED_RANGE
Parameter Type Description deletedboolean Whether the text was deleted objectIdstring The object whose text was deleted metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Convert paragraphs in a shape or table cell into a bulleted or numbered list using a Google Slides bullet preset.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the shape or table containing the text rowIndexnumber No When targeting a table cell, the zero-based row index columnIndexnumber No When targeting a table cell, the zero-based column index rangeTypestring No Range to apply bullets to: ALL (default), FROM_START_INDEX, or FIXED_RANGE startIndexnumber No Start index for FROM_START_INDEX or FIXED_RANGE endIndexnumber No End index for FIXED_RANGE bulletPresetstring No Bullet preset (e.g. BULLET_DISC_CIRCLE_SQUARE, BULLET_ARROW_DIAMOND_DISC, NUMBERED_DIGIT_ALPHA_ROMAN, NUMBERED_DIGIT_ALPHA_ROMAN_PARENS, NUMBERED_DIGIT_NESTED). Defaults to BULLET_DISC_CIRCLE_SQUARE.
Parameter Type Description createdboolean Whether bullets were created objectIdstring The object where bullets were created metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Remove bullets/numbering from paragraphs in a shape or table cell.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the shape or table containing the text rowIndexnumber No When targeting a table cell, the zero-based row index columnIndexnumber No When targeting a table cell, the zero-based column index rangeTypestring No Range to clear bullets from: ALL (default), FROM_START_INDEX, or FIXED_RANGE startIndexnumber No Start index for FROM_START_INDEX or FIXED_RANGE endIndexnumber No End index for FIXED_RANGE
Parameter Type Description deletedboolean Whether bullets were deleted objectIdstring The object whose bullets were deleted metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Find every shape whose text matches the given token (e.g. {{cover-image}}) and replace it with an image, preserving the shape's position and bounds.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID imageUrlstring Yes Publicly fetchable image URL (PNG, JPEG, or GIF; max 50 MB and accessible to Google's servers) findTextstring Yes Text content of shapes to replace (e.g. {{cover-image}}) matchCaseboolean No Case-sensitive match (default: true) imageReplaceMethodstring No How the image fits the shape: CENTER_INSIDE (preserve aspect, fit inside) or CENTER_CROP (fill, crop overflow). Default: CENTER_INSIDE. pageObjectIdsstring No Comma-separated slide IDs to limit replacement to specific slides
Parameter Type Description occurrencesChangednumber Number of shapes that were replaced with the image metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation ↳ imageUrl string The image URL inserted ↳ findText string The matched text token
Replace the source of an existing image with a new image URL, preserving the image's position, size, and properties.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID imageObjectIdstring Yes Object ID of the existing image to replace imageUrlstring Yes New publicly fetchable image URL (PNG, JPEG, or GIF, max 50 MB) imageReplaceMethodstring No CENTER_INSIDE (preserve aspect) or CENTER_CROP (fill, crop overflow). Default: CENTER_INSIDE.
Parameter Type Description replacedboolean Whether the image was replaced imageObjectIdstring The image object that was replaced metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation ↳ imageUrl string The new image URL
Update image properties — brightness, contrast, transparency, crop, outline, link — on an existing image.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the image to update brightnessnumber No Brightness adjustment between -1.0 and 1.0 contrastnumber No Contrast adjustment between -1.0 and 1.0 transparencynumber No Transparency between 0.0 (opaque) and 1.0 (fully transparent) linkUrlstring No Make the image a hyperlink to this URL outlineColorstring No Outline color as hex (e.g. #1A73E8) outlineWeightnumber No Outline weight in points outlineDashStylestring No Outline dash style: SOLID, DOT, DASH, DASH_DOT, LONG_DASH, LONG_DASH_DOT cropLeftOffsetnumber No Crop offset from left edge (0.0 to 1.0) cropRightOffsetnumber No Crop offset from right edge (0.0 to 1.0) cropTopOffsetnumber No Crop offset from top edge (0.0 to 1.0) cropBottomOffsetnumber No Crop offset from bottom edge (0.0 to 1.0) cropAnglenumber No Crop rotation angle in radians (clockwise) propertiesJsonstring No Advanced: raw ImageProperties JSON merged with the simple fields above fieldsstring No Advanced: explicit FieldMask. If omitted, computed from provided fields.
Parameter Type Description updatedboolean Whether the image properties were updated objectIdstring The image object updated fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Update a shape's appearance — background fill color, outline, link, content alignment, autofit. Pass only the properties you want to change.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the shape to update fillColorstring No Solid background fill color as hex (e.g. #FF6F61) fillAlphanumber No Fill opacity between 0.0 (transparent) and 1.0 (opaque) fillUnsetboolean No When true, removes any fill so the shape inherits its layout/master fill outlineColorstring No Outline color as hex outlineWeightnumber No Outline weight in points outlineDashStylestring No Outline dash style: SOLID, DOT, DASH, DASH_DOT, LONG_DASH, LONG_DASH_DOT outlineUnsetboolean No When true, removes any outline so the shape inherits its layout/master outline linkUrlstring No Make the shape a hyperlink to this URL contentAlignmentstring No Vertical alignment of shape contents: TOP, MIDDLE, or BOTTOM autofitTypestring No Autofit behavior: NONE, TEXT_AUTOFIT, or SHAPE_AUTOFIT propertiesJsonstring No Advanced: raw ShapeProperties JSON merged with the simple fields above fieldsstring No Advanced: explicit FieldMask. If omitted, computed from provided fields.
Parameter Type Description updatedboolean Whether the shape properties were updated objectIdstring The shape object updated fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Update slide/page background — solid color or stretched picture — and other page properties.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the slide/page to update backgroundColorstring No Solid background color as hex (e.g. #0B1F3A) backgroundAlphanumber No Background fill opacity between 0.0 and 1.0 backgroundImageUrlstring No Publicly fetchable image URL to use as a stretched picture background backgroundUnsetboolean No When true, removes the background so the slide inherits its layout background propertiesJsonstring No Advanced: raw PageProperties JSON merged with the simple fields above fieldsstring No Advanced: explicit FieldMask. If omitted, computed from provided fields.
Parameter Type Description updatedboolean Whether the page properties were updated objectIdstring The page object updated fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Update slide-specific properties such as whether the slide is skipped during presentation.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the slide to update isSkippedboolean No Whether the slide is skipped in presentation mode propertiesJsonstring No Advanced: raw SlideProperties JSON merged with the simple fields above fieldsstring No Advanced: explicit FieldMask. If omitted, computed from provided fields.
Parameter Type Description updatedboolean Whether the slide properties were updated objectIdstring The slide object updated fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Set the accessibility title and/or description (alt text) of a page element such as an image, shape, or group.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the page element titlestring No Accessibility title for the element descriptionstring No Accessibility description (alt text) for the element
Parameter Type Description updatedboolean Whether alt text was updated objectIdstring The element updated metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Move, resize, scale, or shear a page element. Translate is specified in points; applyMode controls whether the transform is absolute (default) or relative (multiplied with the current transform).
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the page element to transform scaleXnumber No Horizontal scale factor (default 1) scaleYnumber No Vertical scale factor (default 1) shearXnumber No Horizontal shear factor (default 0) shearYnumber No Vertical shear factor (default 0) translateXnumber No X position in points (absolute) or delta (relative) translateYnumber No Y position in points (absolute) or delta (relative) applyModestring No ABSOLUTE replaces the current transform; RELATIVE multiplies with it. Default ABSOLUTE.
Parameter Type Description updatedboolean Whether the transform was updated objectIdstring The element transformed metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Bring elements to front, send to back, or step them one layer forward/backward.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdsstring Yes Comma-separated object IDs of the elements to reorder operationstring Yes BRING_TO_FRONT, BRING_FORWARD, SEND_BACKWARD, or SEND_TO_BACK
Parameter Type Description reorderedboolean Whether the z-order was changed objectIdsarray Elements reordered operationstring Operation applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Group two or more page elements on the same slide into a single object group.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID childrenObjectIdsstring Yes Comma-separated object IDs of the elements to group (must be on the same slide) groupObjectIdstring No Optional object ID to assign to the new group
Parameter Type Description groupedboolean Whether the objects were grouped groupObjectIdstring Object ID of the new group childrenObjectIdsarray IDs of the grouped children metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Ungroup one or more object groups, releasing their children back to the slide.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdsstring Yes Comma-separated object IDs of the groups to ungroup
Parameter Type Description ungroupedboolean Whether the objects were ungrouped objectIdsarray Group IDs that were ungrouped metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Create a line or connector on a slide.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID pageObjectIdstring Yes Object ID of the slide to add the line to lineCategorystring No STRAIGHT (default), BENT, or CURVED widthnumber No Line width in points (default 200) heightnumber No Line height in points (default 0 — horizontal line) positionXnumber No X position in points (default 100) positionYnumber No Y position in points (default 100)
Parameter Type Description lineIdstring Object ID of the new line lineCategorystring Line category created metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ pageObjectId string The slide ID ↳ url string URL to the presentation
Update line appearance — color, weight, dash style, arrows, link.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the line lineColorstring No Line color as hex lineWeightnumber No Line weight in points dashStylestring No Dash style: SOLID, DOT, DASH, DASH_DOT, LONG_DASH, LONG_DASH_DOT startArrowstring No Start arrow style: NONE, STEALTH_ARROW, FILL_ARROW, FILL_CIRCLE, FILL_SQUARE, FILL_DIAMOND, OPEN_ARROW, OPEN_CIRCLE, OPEN_SQUARE, OPEN_DIAMOND endArrowstring No End arrow style (same values as startArrow) linkUrlstring No Hyperlink URL propertiesJsonstring No Advanced: raw LineProperties JSON merged with the simple fields above fieldsstring No Advanced: explicit FieldMask. If omitted, computed from provided fields.
Parameter Type Description updatedboolean Whether the line properties were updated objectIdstring The line object updated fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Change a connector line's category (STRAIGHT, BENT, or CURVED).
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the connector line lineCategorystring Yes New line category: STRAIGHT, BENT, or CURVED
Parameter Type Description updatedboolean Whether the line category was updated objectIdstring The line object updated lineCategorystring New line category metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Reroute a connector line so it efficiently connects its endpoint shapes — useful after moving the shapes the line connects.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the connector line to reroute
Parameter Type Description reroutedboolean Whether the line was rerouted objectIdstring The line object rerouted metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Insert one or more rows into a table, above or below a reference cell.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID tableObjectIdstring Yes Object ID of the table rowIndexnumber Yes Zero-based row index of the reference cell columnIndexnumber Yes Zero-based column index of the reference cell numbernumber Yes Number of rows to insert (minimum 1) insertBelowboolean No Insert below the reference row instead of above (default false)
Parameter Type Description insertedboolean Whether rows were inserted tableObjectIdstring The table updated numbernumber Number of rows inserted metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Insert one or more columns into a table, left or right of a reference cell.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID tableObjectIdstring Yes Object ID of the table rowIndexnumber Yes Zero-based row index of the reference cell columnIndexnumber Yes Zero-based column index of the reference cell numbernumber Yes Number of columns to insert (minimum 1) insertRightboolean No Insert to the right of the reference column instead of left (default false)
Parameter Type Description insertedboolean Whether columns were inserted tableObjectIdstring The table updated numbernumber Number of columns inserted metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Delete the row containing the reference cell from a table.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID tableObjectIdstring Yes Object ID of the table rowIndexnumber Yes Zero-based row index identifying the row to delete columnIndexnumber Yes Zero-based column index of any cell in the row
Parameter Type Description deletedboolean Whether the row was deleted tableObjectIdstring The table updated metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Delete the column containing the reference cell from a table.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID tableObjectIdstring Yes Object ID of the table rowIndexnumber Yes Zero-based row index of any cell in the column columnIndexnumber Yes Zero-based column index identifying the column to delete
Parameter Type Description deletedboolean Whether the column was deleted tableObjectIdstring The table updated metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Merge a rectangular range of table cells into a single cell. The range starts at (rowIndex, columnIndex) and covers rowSpan × columnSpan cells.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the table rowIndexnumber Yes Zero-based row index of the top-left cell columnIndexnumber Yes Zero-based column index of the top-left cell rowSpannumber Yes Number of rows to merge (minimum 1) columnSpannumber Yes Number of columns to merge (minimum 1)
Parameter Type Description mergedboolean Whether the cells were merged objectIdstring The table updated metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Unmerge any merged cells within the given table range.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the table rowIndexnumber Yes Zero-based row index of the top-left cell of the range columnIndexnumber Yes Zero-based column index of the top-left cell of the range rowSpannumber Yes Number of rows in the range (minimum 1) columnSpannumber Yes Number of columns in the range (minimum 1)
Parameter Type Description unmergedboolean Whether the cells were unmerged objectIdstring The table updated metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Update background fill and content alignment for a range of table cells.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the table rowIndexnumber Yes Zero-based row index of the top-left cell of the range columnIndexnumber Yes Zero-based column index of the top-left cell of the range rowSpannumber Yes Number of rows in the range (minimum 1) columnSpannumber Yes Number of columns in the range (minimum 1) backgroundColorstring No Cell background color as hex (e.g. #F1F3F4) backgroundAlphanumber No Background fill opacity between 0.0 and 1.0 contentAlignmentstring No Vertical alignment of cell content: TOP, MIDDLE, or BOTTOM propertiesJsonstring No Advanced: raw TableCellProperties JSON merged with the simple fields above fieldsstring No Advanced: explicit FieldMask. If omitted, computed from provided fields.
Parameter Type Description updatedboolean Whether the cell properties were updated objectIdstring The table updated fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Update border color, weight, and dash style for a position (e.g. ALL, INNER, OUTER) in a table range.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the table rowIndexnumber Yes Zero-based row index of the top-left cell of the range columnIndexnumber Yes Zero-based column index of the top-left cell of the range rowSpannumber Yes Number of rows in the range (minimum 1) columnSpannumber Yes Number of columns in the range (minimum 1) borderPositionstring No Which borders to update: ALL (default), BOTTOM, INNER, INNER_HORIZONTAL, INNER_VERTICAL, LEFT, OUTER, RIGHT, TOP borderColorstring No Border color as hex borderWeightnumber No Border weight in points dashStylestring No Dash style: SOLID, DOT, DASH, DASH_DOT, LONG_DASH, LONG_DASH_DOT propertiesJsonstring No Advanced: raw TableBorderProperties JSON merged with the simple fields above fieldsstring No Advanced: explicit FieldMask. If omitted, computed from provided fields.
Parameter Type Description updatedboolean Whether the border properties were updated objectIdstring The table updated fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Update column widths and other column-level table properties.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the table columnIndicesstring Yes Comma-separated zero-based column indices to update (e.g. "0,2,3") columnWidthnumber No Column width in points propertiesJsonstring No Advanced: raw TableColumnProperties JSON merged with the simple fields above fieldsstring No Advanced: explicit FieldMask. If omitted, computed from provided fields.
Parameter Type Description updatedboolean Whether the column properties were updated objectIdstring The table updated fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Update minimum row heights and other row-level table properties.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the table rowIndicesstring Yes Comma-separated zero-based row indices to update (e.g. "0,2,3") minRowHeightnumber No Minimum row height in points propertiesJsonstring No Advanced: raw TableRowProperties JSON merged with the simple fields above fieldsstring No Advanced: explicit FieldMask. If omitted, computed from provided fields.
Parameter Type Description updatedboolean Whether the row properties were updated objectIdstring The table updated fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Embed a chart from a Google Sheets spreadsheet onto a slide. LINKED charts can be refreshed; NOT_LINKED_IMAGE inserts a static image of the chart.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID pageObjectIdstring Yes Object ID of the slide to add the chart to spreadsheetIdstring Yes Google Sheets spreadsheet ID containing the chart chartIdnumber Yes Numeric chart ID within the spreadsheet linkingModestring No LINKED (default) or NOT_LINKED_IMAGE widthnumber No Width in points (default 400) heightnumber No Height in points (default 300) positionXnumber No X position in points (default 100) positionYnumber No Y position in points (default 100)
Parameter Type Description chartObjectIdstring Object ID of the inserted chart metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ pageObjectId string The slide ID ↳ url string URL to the presentation
Refresh an embedded linked Sheets chart so it reflects the latest spreadsheet data.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the embedded chart to refresh
Parameter Type Description refreshedboolean Whether the chart was refreshed objectIdstring The chart object refreshed metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Find every shape matching a text token (e.g. {{revenue-chart}}) and replace each with the same embedded Sheets chart, preserving the shape's position and bounds.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID spreadsheetIdstring Yes Google Sheets spreadsheet ID containing the chart chartIdnumber Yes Numeric chart ID within the spreadsheet findTextstring Yes Text content of shapes to replace (e.g. {{revenue-chart}}) matchCaseboolean No Case-sensitive match (default true) linkingModestring No LINKED (default) or NOT_LINKED_IMAGE pageObjectIdsstring No Comma-separated slide IDs to limit replacement to specific slides
Parameter Type Description occurrencesChangednumber Number of shapes replaced with the chart metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation ↳ findText string The matched text token ↳ spreadsheetId string Source spreadsheet ID ↳ chartId number Source chart ID
Embed a YouTube or Google Drive video on a slide.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID pageObjectIdstring Yes Object ID of the slide to add the video to sourcestring Yes YOUTUBE or DRIVE videoIdstring Yes YouTube video ID or Drive file ID widthnumber No Width in points (default 400) heightnumber No Height in points (default 225) positionXnumber No X position in points (default 100) positionYnumber No Y position in points (default 100)
Parameter Type Description videoObjectIdstring Object ID of the inserted video metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ pageObjectId string The slide ID ↳ url string URL to the presentation
Update video playback options (autoPlay, mute, start/end) and outline.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID objectIdstring Yes Object ID of the video autoPlayboolean No Play the video automatically when the slide is shown muteboolean No Mute the video startnumber No Playback start time in seconds endnumber No Playback end time in seconds outlineColorstring No Outline color as hex outlineWeightnumber No Outline weight in points outlineDashStylestring No Outline dash style propertiesJsonstring No Advanced: raw VideoProperties JSON merged with the simple fields above fieldsstring No Advanced: explicit FieldMask. If omitted, computed from provided fields.
Parameter Type Description updatedboolean Whether the video properties were updated objectIdstring The video object updated fieldsstring FieldMask applied metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation
Run a raw Slides API batchUpdate with a list of Request objects. Use this when the higher-level tools do not cover an operation, or to bundle multiple operations into a single atomic batch (all-or-nothing).
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID requestsstring Yes JSON array of Slides API Request objects. Example: [{"replaceAllText":{"containsText":{"text":"{{title}}"},"replaceText":"Q3 Review"}}, {"updatePageProperties":{"objectId":"slide_1","pageProperties":{"pageBackgroundFill":{"solidFill":{"color":{"rgbColor":{"red":0.043,"green":0.122,"blue":0.231}}}}},"fields":"pageBackgroundFill"}}] writeControlstring No Optional JSON WriteControl object for optimistic concurrency, e.g. {"requiredRevisionId":"..."}
Parameter Type Description repliesarray Array of reply objects, one per request (parallel-indexed) writeControljson WriteControl returned by the server (revision tracking) metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation ↳ requestCount number Number of replies returned
Copy a template presentation in Drive to a new file. Use this before merging data so the original template is never modified.
Inputs and outputsParameter Type Required Description sourcePresentationIdstring Yes Drive file ID of the source/template presentation titlestring No Title for the copy. Defaults to "Copy of <source title>". folderIdstring No Drive folder ID where the copy should be placed
Parameter Type Description presentationIdstring ID of the new copied presentation titlestring Title of the new presentation metadataobject Operation metadata ↳ sourcePresentationId string Source/template presentation ID ↳ presentationId string New presentation ID ↳ title string New presentation title ↳ mimeType string MIME type of the presentation ↳ url string URL to the new presentation
Export a presentation to PDF, PPTX, ODP, TXT, PNG, JPEG, or SVG via the Drive export endpoint. Stores the exported file as an execution file when execution context is available.
Inputs and outputsParameter Type Required Description presentationIdstring Yes Google Slides presentation ID exportFormatstring No Format: PDF (default), PPTX, ODP, TXT, PNG, JPEG, or SVG
Parameter Type Description filefile Stored exported presentation file contentBase64string Deprecated legacy inline content. New exports return file. mimeTypestring MIME type of the exported content sizeBytesnumber Size of the exported content in bytes metadataobject Operation metadata ↳ presentationId string The presentation ID ↳ url string URL to the presentation ↳ exportFormat string Export format used