Google Slides MCP Server for Cloudflare Workers
Test Google Slides tools directly in your browser. Select a tool and provide inputs to see the results.
Create a free account to test Google Slides tools interactively. No credit card required.
googleslides_create_lineCreate a line on a slide. Args: - presentationId: The ID of the presentation - slideId: The object ID of the slide - lineCategory: Type of line (STRAIGHT, BENT, CURVED) - startX: Starting X position in points - startY: Starting Y position in points - endX: Ending X position in points - endY: Ending Y position in points - objectId: Optional custom object ID Returns: The response with the created line's object ID.
googleslides_create_presentationCreate a new Google Slides presentation. Args: - title: The title for the new presentation Returns: The created presentation object with presentationId, title, slides, masters, and layouts.
googleslides_update_line_propertiesUpdate properties of a line (color, weight, arrows, dash style). Args: - presentationId: The ID of the presentation - objectId: The line object ID - lineColor: Line color as hex (#RRGGBB) - lineWeight: Line weight in points - startArrow: Arrow style at start (NONE, FILL_ARROW, OPEN_ARROW, etc.) - endArrow: Arrow style at end - dashStyle: Dash style (SOLID, DOT, DASH, DASH_DOT, etc.) Returns: Confirmation of the update.
googleslides_create_videoInsert a video onto a slide. Args: - presentationId: The ID of the presentation - slideId: The object ID of the slide - videoSource: Video source (YOUTUBE or DRIVE) - videoId: The video ID (YouTube video ID or Drive file ID) - x: X position in points - y: Y position in points - width: Width in points - height: Height in points - objectId: Optional custom object ID Returns: The response with the created video's object ID.
googleslides_create_sheets_chartInsert a chart from Google Sheets onto a slide. Args: - presentationId: The ID of the presentation - slideId: The object ID of the slide - spreadsheetId: The Google Sheets spreadsheet ID - chartId: The chart ID within the spreadsheet - x: X position in points - y: Y position in points - width: Width in points - height: Height in points - linkingMode: Link mode (LINKED to update with source, NOT_LINKED_IMAGE for static) - objectId: Optional custom object ID Returns: The response with the created chart's object ID.
googleslides_refresh_sheets_chartRefresh a linked Google Sheets chart to update it with the latest data. Args: - presentationId: The ID of the presentation - objectId: The chart element object ID Returns: Confirmation of the refresh.
googleslides_delete_objectDelete a page element (shape, image, table, etc.) from a slide. Args: - presentationId: The ID of the presentation - objectId: The object ID to delete Returns: Confirmation of the deletion.
googleslides_duplicate_objectDuplicate a page element or slide. Args: - presentationId: The ID of the presentation - objectId: The object ID to duplicate Returns: The response with the new object's ID.
googleslides_update_transformUpdate the position, size, or rotation of a page element. Args: - presentationId: The ID of the presentation - objectId: The object ID - applyMode: How to apply the transform (ABSOLUTE or RELATIVE) - translateX: X translation in points - translateY: Y translation in points - scaleX: Horizontal scale factor - scaleY: Vertical scale factor - shearX: Horizontal shear - shearY: Vertical shear Returns: Confirmation of the transform update.
googleslides_update_alt_textUpdate the alt text (accessibility text) of a page element. Args: - presentationId: The ID of the presentation - objectId: The object ID - title: Alt text title - description: Alt text description Returns: Confirmation of the update.
googleslides_update_z_orderChange the stacking order (z-order) of page elements. Args: - presentationId: The ID of the presentation - objectIds: Array of object IDs to reorder - operation: Z-order operation (BRING_TO_FRONT, BRING_FORWARD, SEND_BACKWARD, SEND_TO_BACK) Returns: Confirmation of the reorder.
googleslides_group_objectsGroup multiple page elements together. Args: - presentationId: The ID of the presentation - objectIds: Array of object IDs to group - groupObjectId: Optional custom object ID for the group Returns: The response with the group's object ID.
googleslides_ungroup_objectsUngroup page element groups. Args: - presentationId: The ID of the presentation - objectIds: Array of group object IDs to ungroup Returns: Confirmation of the ungroup.
googleslides_update_page_propertiesUpdate properties of a page (background color or image). Args: - presentationId: The ID of the presentation - pageObjectId: The page object ID - backgroundColor: Background color as hex (#RRGGBB) Returns: Confirmation of the update.
googleslides_create_imageInsert an image onto a slide from a URL. Args: - presentationId: The ID of the presentation - slideId: The object ID of the slide - imageUrl: URL of the image to insert (must be publicly accessible) - x: X position in points - y: Y position in points - width: Width in points (optional, uses image natural size if not specified) - height: Height in points (optional, uses image natural size if not specified) - objectId: Optional custom object ID Returns: The response with the created image's object ID.
googleslides_replace_imageReplace an existing image with a new one. Args: - presentationId: The ID of the presentation - imageObjectId: The object ID of the image to replace - imageUrl: URL of the new image - replaceMethod: How to fit the new image (CENTER_INSIDE or CENTER_CROP) Returns: Confirmation of the replacement.
googleslides_replace_shapes_with_imageReplace all shapes containing specific text with an image. Args: - presentationId: The ID of the presentation - containsText: Text that shapes must contain to be replaced - imageUrl: URL of the replacement image - matchCase: Whether to match case (default: false) - replaceMethod: How to fit the image (CENTER_INSIDE or CENTER_CROP) Returns: The number of shapes replaced.
googleslides_delete_slideDelete a slide from a presentation. Args: - presentationId: The ID of the presentation - slideId: The object ID of the slide to delete Returns: Confirmation of deletion.
googleslides_update_image_propertiesUpdate properties of an image (transparency, brightness, contrast, outline). Args: - presentationId: The ID of the presentation - objectId: The image object ID - transparency: Transparency (0.0 = opaque, 1.0 = fully transparent) - brightness: Brightness adjustment (-1.0 to 1.0) - contrast: Contrast adjustment (-1.0 to 1.0) - outlineColor: Outline color as hex (#RRGGBB) - outlineWeight: Outline weight in points Returns: Confirmation of the update.
googleslides_get_presentationGet a Google Slides presentation by ID. Args: - presentationId: The ID of the presentation to retrieve - format: Response format ('json' or 'markdown') Returns: The presentation object with all slides, masters, layouts, and properties.
googleslides_get_pageGet a specific page (slide, master, or layout) from a presentation. Args: - presentationId: The ID of the presentation - pageObjectId: The object ID of the page to retrieve - format: Response format ('json' or 'markdown') Returns: The page object with all page elements and properties.
googleslides_get_thumbnailGet a thumbnail image of a page. Args: - presentationId: The ID of the presentation - pageObjectId: The object ID of the page - thumbnailSize: Size of thumbnail ('LARGE', 'MEDIUM', 'SMALL') Returns: The thumbnail with contentUrl, width, and height.
googleslides_batch_updateExecute multiple updates to a presentation in a single request. Args: - presentationId: The ID of the presentation - requests: Array of request objects (see Google Slides API documentation for request types) Returns: The batch update response with replies for each request. Note: This is a low-level tool. Use the specific tools (create_slide, insert_text, etc.) for common operations.
googleslides_create_shapeCreate a shape on a slide. Args: - presentationId: The ID of the presentation - slideId: The object ID of the slide - shapeType: Type of shape (RECTANGLE, ELLIPSE, TEXT_BOX, STAR_5, etc.) - x: X position in points - y: Y position in points - width: Width in points - height: Height in points - objectId: Optional custom object ID Returns: The response with the created shape's object ID.
googleslides_create_textboxCreate a text box on a slide with optional initial text. Args: - presentationId: The ID of the presentation - slideId: The object ID of the slide - x: X position in points - y: Y position in points - width: Width in points - height: Height in points - text: Optional initial text content - objectId: Optional custom object ID (required if text is provided) Returns: The response with the created text box's object ID.
googleslides_update_shape_propertiesUpdate properties of a shape (fill color, outline, etc.). Args: - presentationId: The ID of the presentation - objectId: The shape object ID - backgroundColor: Optional background color as hex (#RRGGBB) - outlineColor: Optional outline color as hex (#RRGGBB) - outlineWeight: Optional outline weight in points Returns: Confirmation of the update.
googleslides_create_slideCreate a new slide in a presentation. Args: - presentationId: The ID of the presentation - insertionIndex: Optional index where to insert the slide (0-based) - layout: Optional predefined layout (BLANK, TITLE, TITLE_AND_BODY, etc.) - objectId: Optional custom object ID for the new slide Returns: The response with the created slide's object ID.
googleslides_duplicate_slideDuplicate a slide in a presentation. Args: - presentationId: The ID of the presentation - slideId: The object ID of the slide to duplicate Returns: The response with the new slide's object ID.
googleslides_move_slidesMove slides to a new position in the presentation. Args: - presentationId: The ID of the presentation - slideObjectIds: Array of slide object IDs to move - insertionIndex: The index to move slides to Returns: Confirmation of the move.
googleslides_update_slide_propertiesUpdate properties of a slide. Args: - presentationId: The ID of the presentation - slideId: The slide object ID - isSkipped: Whether to skip this slide in presentations - layoutObjectId: The layout to apply to this slide - masterObjectId: The master to apply to this slide Returns: Confirmation of the update.
googleslides_create_tableCreate a table on a slide. Args: - presentationId: The ID of the presentation - slideId: The object ID of the slide - rows: Number of rows - columns: Number of columns - x: X position in points - y: Y position in points - width: Width in points (optional) - height: Height in points (optional) - objectId: Optional custom object ID Returns: The response with the created table's object ID.
googleslides_insert_table_rowsInsert rows into a table. Args: - presentationId: The ID of the presentation - tableObjectId: The table object ID - rowIndex: Row index for insertion reference - columnIndex: Column index (usually 0) - insertBelow: Insert below the reference row (true) or above (false) - number: Number of rows to insert Returns: Confirmation of the insertion.
googleslides_insert_table_columnsInsert columns into a table. Args: - presentationId: The ID of the presentation - tableObjectId: The table object ID - rowIndex: Row index (usually 0) - columnIndex: Column index for insertion reference - insertRight: Insert to the right (true) or left (false) - number: Number of columns to insert Returns: Confirmation of the insertion.
googleslides_delete_table_rowDelete a row from a table. Args: - presentationId: The ID of the presentation - tableObjectId: The table object ID - rowIndex: Index of the row to delete Returns: Confirmation of the deletion.
googleslides_delete_table_columnDelete a column from a table. Args: - presentationId: The ID of the presentation - tableObjectId: The table object ID - columnIndex: Index of the column to delete Returns: Confirmation of the deletion.
googleslides_update_table_cellUpdate properties of table cells (background color, content alignment). Args: - presentationId: The ID of the presentation - tableObjectId: The table object ID - rowIndex: Starting row index - columnIndex: Starting column index - rowSpan: Number of rows to affect (default: 1) - columnSpan: Number of columns to affect (default: 1) - backgroundColor: Background color as hex (#RRGGBB) - contentAlignment: Vertical content alignment (TOP, MIDDLE, BOTTOM) Returns: Confirmation of the update.
googleslides_update_table_borderUpdate border properties of table cells. Args: - presentationId: The ID of the presentation - tableObjectId: The table object ID - rowIndex: Starting row index - columnIndex: Starting column index - rowSpan: Number of rows (default: 1) - columnSpan: Number of columns (default: 1) - borderPosition: Which borders to update (ALL, TOP, BOTTOM, LEFT, RIGHT, etc.) - borderColor: Border color as hex (#RRGGBB) - borderWeight: Border weight in points Returns: Confirmation of the update.
googleslides_merge_table_cellsMerge table cells into a single cell. Args: - presentationId: The ID of the presentation - tableObjectId: The table object ID - rowIndex: Starting row index - columnIndex: Starting column index - rowSpan: Number of rows to merge - columnSpan: Number of columns to merge Returns: Confirmation of the merge.
googleslides_unmerge_table_cellsUnmerge previously merged table cells. Args: - presentationId: The ID of the presentation - tableObjectId: The table object ID - rowIndex: Row index of the merged cell - columnIndex: Column index of the merged cell - rowSpan: Row span of the merged cell - columnSpan: Column span of the merged cell Returns: Confirmation of the unmerge.
googleslides_insert_textInsert text into a shape or text box. Args: - presentationId: The ID of the presentation - objectId: The object ID of the shape containing text - text: The text to insert - insertionIndex: Optional index where to insert (defaults to end) Returns: Confirmation of the text insertion.
googleslides_delete_textDelete text from a shape or text box. Args: - presentationId: The ID of the presentation - objectId: The object ID of the shape - startIndex: Start index of text to delete (optional, defaults to all text) - endIndex: End index of text to delete (optional) Returns: Confirmation of the text deletion.
googleslides_replace_all_textFind and replace all instances of text in a presentation. Args: - presentationId: The ID of the presentation - findText: The text to find - replaceText: The replacement text - matchCase: Whether to match case (default: false) Returns: The number of occurrences replaced.
googleslides_update_text_styleUpdate the style of text (font, size, color, bold, italic, etc.). Args: - presentationId: The ID of the presentation - objectId: The object ID of the shape - bold: Set text to bold - italic: Set text to italic - underline: Set text to underlined - strikethrough: Set text to strikethrough - fontFamily: Font family name - fontSize: Font size in points - foregroundColor: Text color as hex (#RRGGBB) - backgroundColor: Background/highlight color as hex (#RRGGBB) - startIndex: Optional start index for partial styling - endIndex: Optional end index for partial styling Returns: Confirmation of the style update.
googleslides_update_paragraph_styleUpdate paragraph style (alignment, spacing, indentation). Args: - presentationId: The ID of the presentation - objectId: The object ID of the shape - alignment: Text alignment (START, CENTER, END, JUSTIFIED) - lineSpacing: Line spacing percentage (100 = normal) - spaceAbove: Space above paragraph in points - spaceBelow: Space below paragraph in points - indentStart: Start indentation in points - indentEnd: End indentation in points - indentFirstLine: First line indentation in points - startIndex: Optional start index for partial styling - endIndex: Optional end index for partial styling Returns: Confirmation of the style update.
googleslides_create_bulletsAdd bullet points or numbering to paragraphs. Args: - presentationId: The ID of the presentation - objectId: The object ID of the shape - bulletPreset: Bullet style preset - startIndex: Optional start index - endIndex: Optional end index Returns: Confirmation of the bullet creation.
googleslides_delete_bulletsRemove bullet points or numbering from paragraphs. Args: - presentationId: The ID of the presentation - objectId: The object ID of the shape - startIndex: Optional start index - endIndex: Optional end index Returns: Confirmation of the bullet deletion.
googleslides_create_line{
"endX": 10,
"endY": 10,
"startX": 10,
"startY": 10,
"slideId": "example_slideId",
"objectId": "example_objectId",
"presentationId": "example_presentationId"
}googleslides_create_presentation{
"title": "example_title"
}googleslides_update_line_properties{
"objectId": "example_objectId",
"lineWeight": 10,
"presentationId": "example_presentationId"
}