> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Google Slides

**Authentication:** OAuth. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow, or [Application credentials](/merge-agent-handler/admin-setup/add-oauth-credentials) to bring your own OAuth app.

## Sample use cases

* Generate a 5-slide deck from this PRD using the `Sales` template.
* Find decks in the `Marketing` shared drive last edited in the past 30 days.
* Update the title slide of the `Pitch Deck` to use today's date.

## Available Tools

#### create\_image

Insert an image from a URL onto a page. The URL must be publicly accessible.

#### create\_video

Insert a video (YouTube or Google Drive) onto a page. Requires video ID and source type.

#### replace\_image

Replace an existing image with a new one from a URL. Maintains position and size.

#### create\_line

Create a line or connector between two points. Supports straight, bent, and curved lines.

#### create\_sheets\_chart

Insert a chart from Google Sheets. Requires spreadsheet\_id and chart\_id. Can be linked or static.

#### create\_presentation

Create a new Google Slides presentation with optional title. Returns the presentation ID and metadata.

#### get\_presentation

Get a Google Slides presentation by ID. Returns full structure including slides, masters, and layouts.

#### batch\_update\_presentation

Apply multiple updates atomically to a presentation. Supports 43 request types including slides, shapes, text, tables.

#### create\_shape

Create a shape on a page. Supports 100+ shape types including rectangles, arrows, flowchart elements.

#### create\_text\_box

Create a text box on a page. A text box is a shape optimized for text content with optional initial text.

#### update\_shape\_properties

Update shape visual properties like fill color, outline, and content alignment.

#### delete\_object

Delete any page element (shape, image, table, etc.) by its object ID. This action cannot be undone.

#### create\_slide

Create a new slide in a presentation with optional layout and position. Returns the slide object ID.

#### duplicate\_slide

Duplicate an existing slide. The copy includes all elements and can be positioned at a specific index.

#### delete\_slide

Delete a slide from a presentation by its object ID. This action cannot be undone.

#### update\_slides\_position

Reorder slides by moving them to a new position. Provide slide IDs in the desired order.

#### get\_page

Get detailed information about a specific page including all elements. Works for slides, masters, layouts.

#### get\_page\_thumbnail

Get a thumbnail image of a page. Returns a URL to download the image (PNG format).

#### create\_table

Create a table on a page with specified rows and columns. Use insert\_text to add content to cells.

#### insert\_table\_rows

Insert rows into a table at a specific index. New rows copy structure from adjacent row.

#### insert\_table\_columns

Insert columns into a table at a specific index. New columns copy structure from adjacent column.

#### delete\_table\_row

Delete a row from a table by index. Content in the row is removed.

#### delete\_table\_column

Delete a column from a table by index. Content in the column is removed.

#### merge\_table\_cells

Merge a rectangular range of table cells. Content is combined into the top-left cell.

#### update\_table\_cell\_properties

Update table cell properties like background color and content alignment.

#### insert\_text

Insert text into a shape or table cell at a specific index. Use cell\_location for table cells.

#### delete\_text

Delete text from a shape or table cell. Specify start\_index (inclusive) and end\_index (exclusive).

#### replace\_all\_text

Find and replace all occurrences of text in a presentation. Optional case-sensitivity and page filtering.

#### update\_text\_style

Apply text formatting like bold, italic, font, size, and color to a text range.

#### update\_paragraph\_style

Update paragraph formatting like alignment, line spacing, and indentation for a text range.

#### create\_paragraph\_bullets

Add bullet or numbered list formatting to paragraphs in a text range. Choose from 15 bullet presets.

#### delete\_paragraph\_bullets

Remove bullet/list formatting from a paragraph text range. Inverse of create\_paragraph\_bullets. For tables, pass cell\_location.

#### group\_objects

Group multiple page elements on the same page so they move and transform together. Returns the new group's object ID.

#### refresh\_sheets\_chart

Refresh a linked Google Sheets chart embedded in the presentation so it reflects the latest data from the source spreadsheet.

#### replace\_all\_shapes\_with\_image

Replace every shape whose text matches contains\_text with an image. Useful for template-style image fill-in (e.g. }).

#### replace\_all\_shapes\_with\_sheets\_chart

Replace every shape whose text matches contains\_text with a Google Sheets chart. Use linking\_mode=LINKED to keep the chart in sync with the source she…

#### ungroup\_objects

Ungroup one or more groups, leaving their child elements as standalone elements on the page.

#### update\_image\_properties

Set an image's outline (color, weight, dash style). Pass at least one outline\_\* property; only fields you set are updated.

#### update\_line\_properties

Style a line: fill color, weight (points), dash style, and start/end arrowheads. Pass only the fields you want changed.

#### update\_page\_element\_transform

Update a page element's affine transform (position, size, rotation). Applies to shapes, images, text boxes, lines, tables, and groups.

#### update\_page\_properties

Set a slide's background to a solid color or a stretched image. Pass exactly one of background\_fill\_color\_rgb or background\_image\_url.

#### update\_slide\_properties

Update slide-level properties: assign a layout or mark slide as skipped during presentation. Pass at least one of layout\_object\_id or is\_skipped.

#### update\_table\_border\_properties

Style table borders (color, weight, dash) at a position (ALL, OUTER, INNER, TOP, BOTTOM, LEFT, RIGHT, INNER\_HORIZONTAL, INNER\_VERTICAL).

#### update\_table\_column\_properties

Set the width of one or more table columns in EMU (914400 EMU = 1 inch).

#### update\_table\_row\_properties

Set the minimum height of one or more table rows in EMU (914400 EMU = 1 inch). Rows may grow beyond this if their content requires it.

#### update\_video\_properties

Update a video's playback options (auto\_play, start/end seconds, mute) and outline (color, weight, dash style)

#### update\_page\_element\_alt\_text

Set the alt text title and/or description on any page element (shape, image, table, video, line)

#### update\_page\_elements\_z\_order

Change the stacking (z-) order of one or more page elements on the same page. Operations: BRING\_TO\_FRONT, SEND\_TO\_BACK, BRING\_FORWARD, SEND\_BACKWARD

#### unmerge\_table\_cells

Unmerge a previously merged rectangular range of table cells, restoring the individual cells