Tools
Google Slides
Read, write, and create presentations
Integrate Google Slides into the workflow. Can read, write, create presentations, replace text, add slides, add images, and get thumbnails.
Read content from a Google Slides presentation
| Parameter | Type | Required | Description |
|---|
presentationId | string | Yes | The ID of the presentation to read |
| Parameter | Type | Description |
|---|
slides | json | Array of slides with their content |
metadata | json | Presentation metadata including ID, title, and URL |
Write or update content in a Google Slides presentation
| Parameter | Type | Required | Description |
|---|
presentationId | string | Yes | The ID of the presentation to write to |
content | string | Yes | The content to write to the slide |
slideIndex | number | No | The index of the slide to write to (defaults to first slide) |
| Parameter | Type | Description |
|---|
updatedContent | boolean | Indicates if presentation content was updated successfully |
metadata | json | Updated presentation metadata including ID, title, and URL |
Create a new Google Slides presentation
| Parameter | Type | Required | Description |
|---|
title | string | Yes | The title of the presentation to create |
content | string | No | The content to add to the first slide |
folderSelector | string | No | Select the folder to create the presentation in |
| Parameter | Type | Description |
|---|
metadata | json | Created presentation metadata including ID, title, and URL |
Find and replace all occurrences of text throughout a Google Slides presentation
| Parameter | Type | Required | Description |
|---|
presentationId | string | Yes | The ID of the presentation |
findText | string | Yes | The text to find (e.g., {{placeholder}}) |
replaceText | string | Yes | The text to replace with |
matchCase | boolean | No | Whether the search should be case-sensitive (default: true) |
pageObjectIds | string | No | Comma-separated list of slide object IDs to limit replacements to specific slides (leave empty for all slides) |
| Parameter | Type | Description |
|---|
occurrencesChanged | number | Number of text occurrences that were replaced |
metadata | json | Operation metadata including presentation ID and URL |
Add a new slide to a Google Slides presentation with a specified layout
| Parameter | Type | Required | Description |
|---|
presentationId | string | Yes | The ID of the presentation |
layout | string | No | The predefined layout for the slide (BLANK, TITLE, TITLE_AND_BODY, TITLE_ONLY, SECTION_HEADER, etc.). Defaults to BLANK. |
insertionIndex | number | No | The optional zero-based index indicating where to insert the slide. If not specified, the slide is added at the end. |
placeholderIdMappings | string | No | JSON array of placeholder mappings to assign custom object IDs to placeholders. Format: [{"layoutPlaceholder":{"type":"TITLE"},"objectId":"custom_title_id"}] |
| Parameter | Type | Description |
|---|
slideId | string | The object ID of the newly created slide |
metadata | json | Operation metadata including presentation ID, layout, and URL |
Insert an image into a specific slide in a Google Slides presentation
| Parameter | Type | Required | Description |
|---|
presentationId | string | Yes | The ID of the presentation |
pageObjectId | string | Yes | The object ID of the slide/page to add the image to |
imageUrl | string | Yes | The publicly accessible URL of the image (must be PNG, JPEG, or GIF, max 50MB) |
width | number | No | Width of the image in points (default: 300) |
height | number | No | Height of the image in points (default: 200) |
positionX | number | No | X position from the left edge in points (default: 100) |
positionY | number | No | Y position from the top edge in points (default: 100) |
| Parameter | Type | Description |
|---|
imageId | string | The object ID of the newly created image |
metadata | json | Operation metadata including presentation ID and image URL |
Generate a thumbnail image of a specific slide in a Google Slides presentation
| Parameter | Type | Required | Description |
|---|
presentationId | string | Yes | The ID of the presentation |
pageObjectId | string | Yes | The object ID of the slide/page to get a thumbnail for |
thumbnailSize | string | No | The size of the thumbnail: SMALL (200px), MEDIUM (800px), or LARGE (1600px). Defaults to MEDIUM. |
mimeType | string | No | The MIME type of the thumbnail image: PNG or GIF. Defaults to PNG. |
| Parameter | Type | Description |
|---|
contentUrl | string | URL to the thumbnail image (valid for 30 minutes) |
width | number | Width of the thumbnail in pixels |
height | number | Height of the thumbnail in pixels |
metadata | json | Operation metadata including presentation ID and page object ID |
- Category:
tools
- Type:
google_slides