gogcli-mcp-slides
v4.12.0Google Slides via gogcli for Claude — deck and slide authoring
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
gog_auth_list
List the Google accounts stored in gogcli, with their scopes. This reads local configuration only — it does not contact Google and does NOT tell you whether an account still works: a signed-out account whose refresh token expired or was revoked is listed here exactly like a healthy one, scopes and all. Use gog_auth_health to check whether an account can actually authenticate.
gog_auth_status
Show gogcli auth CONFIGURATION: keyring backend, credential files, and auth setup. Despite the name this is not a health check — it reads local setup and does not contact Google, so it says nothing about whether an account can still authenticate. Use gog_auth_health for that.
gog_auth_health
Check the LIVE health of each stored Google account. Unlike gog_auth_status (which only reports keyring/config setup), this performs a real token refresh against Google, so it detects expired or revoked (invalid_grant) refresh tokens — the account-wide sign-out that blocks every service. Reports per account: whether the token is currently valid, the mapped cause when it is not, how long ago it was authorized, and a warning as it approaches the 7-day refresh-token limit that applies to OAuth apps whose consent screen is still in "Testing" mode. Run it proactively to re-authorize on your own s…
gog_auth_services
List all Google services supported by gogcli and the OAuth scopes each requires.
gog_auth_add
Authorize a Google account via browser-based OAuth. Opens a browser window where the user must sign in and grant access. Blocks for up to 5 minutes waiting for the user to complete authorization. If the browser does not open automatically, a fallback URL is included in the response. Use gog_auth_list to check which accounts are already configured.
| Parameter | Type | Description |
|---|---|---|
email * | string | Google account email to authorize |
extraScopes | string | Additional raw OAuth scope URIs to request, comma-separated, on top of the ones `services` implies. Use for scopes no service covers — e.g. https://www.googleapis.com/auth/bigquery.readonly, require… |
services | string | Services to authorize: "all" or comma-separated list (e.g. "sheets,gmail,calendar"). Default: "slides". Prefer the narrowest set you need — requesting a service whose Google API is not enabled on th… |
gog_auth_add_url
Begin REMOTE/headless Google authorization (step 1 of 2). Returns a sign-in URL to open in any browser — no local server or terminal on the gogcli host is needed, so this works on a hosted deployment where the interactive gog_auth_add cannot. Hand the URL to the user; after they sign in, the browser is redirected to a localhost URL that fails to load — that is expected. They copy that full redirected URL (from the address bar) and you pass it to gog_auth_add_complete. The link is valid for 10 minutes. If you pass a custom `services` here, pass the SAME value to gog_auth_add_complete or the…
| Parameter | Type | Description |
|---|---|---|
email * | string | Google account email to authorize |
extraScopes | string | Additional raw OAuth scope URIs to request, comma-separated, on top of the ones `services` implies. Use for scopes no service covers — e.g. https://www.googleapis.com/auth/bigquery.readonly, require… |
services | string | Services to authorize: "all" or comma-separated list (e.g. "sheets,gmail,calendar"). Default: "slides". Prefer the narrowest set you need — requesting a service whose Google API is not enabled on th… |
gog_auth_add_complete
Complete REMOTE/headless Google authorization (step 2 of 2). Takes the full redirected localhost URL the user copied after finishing gog_auth_add_url, exchanges it for a refresh token, and stores it. Use the SAME `services` value you passed to gog_auth_add_url. Must run within 10 minutes of step 1 and against the same gogcli host.
| Parameter | Type | Description |
|---|---|---|
email * | string | Google account email being authorized (same as step 1) |
redirectUrl * | string | The full localhost redirect URL the user copied from the browser address bar after signing in (contains code and state; the page itself fails to load, which is expected). |
extraScopes | string | Extra OAuth scope URIs — MUST match the value passed to gog_auth_add_url, for the same reason `services` must: the two steps have to describe the same grant. |
services | string | Services authorized — MUST match the value passed to gog_auth_add_url. Default: "slides". |
gog_auth_run
Run any gog auth subcommand not covered by the other tools. Run `gog auth --help` for the full list of subcommands, or `gog auth <subcommand> --help` for flags on a specific subcommand. Only these subcommands are available: list, status, services, alias. Flags that override server safety controls (--readonly, --enable-commands, --disable-commands, --account, --access-token, --home, --client, --gmail-no-send, --no-input) and a bare "--" are refused. Local file paths (--out, --out-dir, --attach, --file, --*-file, @file JSON) must be inside GOG_FILE_ROOTS; subcommands that take a local path posit…
| Parameter | Type | Description |
|---|---|---|
args * | array | Additional positional args and flags |
subcommand * | string | The gog auth subcommand to run, e.g. "alias", "list", "status" |
gog_slides_export
Export a Google Slides presentation to a local file (pdf or pptx). The out path must be inside the server's GOG_FILE_ROOTS directories.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
format | string | Export format (default: pptx) |
out | string | Output file path |
overwrite | boolean | Overwrite the output file if it already exists (gog refuses otherwise) |
gog_slides_info
Get metadata for a Google Slides presentation (title, ID, slide count, etc.).
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_create
Create a new Google Slides presentation, optionally in a folder or copying from a template.
| Parameter | Type | Description |
|---|---|---|
title * | string | Presentation title |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
parent | string | Destination folder ID |
template | string | Template presentation ID to copy from |
gog_slides_copy
Copy a Google Slides presentation to a new presentation with the given title.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID to copy |
title * | string | Title for the new copy |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
parent | string | Destination folder ID |
gog_slides_list_slides
List slides in a Google Slides presentation.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_read_slide
Read the content of a slide (text, shapes, speaker notes). Set detail=true to also include normalized element geometry, styled text runs, paragraphs, table-cell content, and image source URLs.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide ID to read |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
detail | boolean | Include normalized element geometry, styled text runs, paragraphs, table-cell content, and image source URLs |
gog_slides_run
Run any gog slides subcommand not covered by the other tools. Run `gog slides --help` for the full list of subcommands, or `gog slides <subcommand> --help` for flags on a specific subcommand. Flags that override server safety controls (--readonly, --enable-commands, --disable-commands, --account, --access-token, --home, --client, --gmail-no-send, --no-input) and a bare "--" are refused. Local file paths (--out, --out-dir, --attach, --file, --*-file, @file JSON) must be inside GOG_FILE_ROOTS; subcommands that take a local path positionally (e.g. drive upload) are refused in favour of their dedi…
| Parameter | Type | Description |
|---|---|---|
args * | array | Additional positional args and flags |
subcommand * | string | The gog slides subcommand to run, e.g. "delete-slide", "update-notes" |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_create_from_markdown
Create a new Google Slides presentation from markdown content (inline or from a file).
| Parameter | Type | Description |
|---|---|---|
title * | string | Presentation title |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
content | string | Inline markdown content |
contentFile | string | Path to a markdown file |
debug | boolean | Enable debug output |
parent | string | Destination folder ID |
gog_slides_create_from_template
Create a new Google Slides presentation from a template, with optional placeholder replacements.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | Template presentation ID |
title * | string | New presentation title |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
exact | boolean | Require exact placeholder matches |
parent | string | Destination folder ID |
replacements | object | Placeholder replacements as a key/value object (emitted as --replace=k=v for each entry) |
replacementsFile | string | Path to a JSON file containing replacements |
gog_slides_add_slide
Add a new slide to a presentation from an image, with optional speaker notes. On a hosted deployment, where no path on your machine exists, upload the image with gog_upload_slots and pass blobKeys instead of image.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
before | string | Insert before this slide ID (default: append at end) |
blobKeys | array | Hosted deployments: blobKeys from gog_upload_slots for files you have ALREADY PUT to their uploadUrl. This is how to send a file you hold (a photo, a PDF) when this server is remote: no base64 in the… |
image | string | Path to the image file on the gog server (exactly one of image or blobKeys) |
notes | string | Speaker notes text |
notesFile | string | Path to a file containing speaker notes |
gog_slides_insert_image
Place an image on an existing slide at a given size and position, from a local file (image) or a public HTTPS URL (url — no Drive upload or sharing required). Unlike gog_slides_add_slide (which creates a new full-bleed image slide), this inserts onto a slide you already have. width is required; omit height to keep aspect ratio when using a local file (gog requires both width and height when using url). On a hosted deployment, where no path on your machine exists, upload the image with gog_upload_slots and pass blobKeys instead of image.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide ID (object ID of the target slide) |
width * | number | Image width, in unit |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
blobKeys | array | Hosted deployments: blobKeys from gog_upload_slots for files you have ALREADY PUT to their uploadUrl. This is how to send a file you hold (a photo, a PDF) when this server is remote: no base64 in the… |
height | number | Image height, in unit; omit to keep the image's aspect ratio (required when using url) |
image | string | Path to the image file on the gog server (exactly one of image, url or blobKeys) |
unit | string | Measurement unit for x/y/width/height (default: PT) |
url | string | Public HTTPS image URL to insert directly — no Drive upload or sharing (exactly one of image, url or blobKeys). gog requires both width and height with url. |
x | number | Left position of the image, in unit |
y | number | Top position of the image, in unit |
gog_slides_delete_slide
Delete a slide from a Google Slides presentation.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide ID to delete |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_skip_slide
Skip a slide during presentation — it stays in the deck at its current position but is not shown when presenting (and is left out of a PDF export). Use this instead of gog_slides_delete_slide when a slide should be omitted from a talk without losing it. Reverse with gog_slides_unskip_slide; gog_slides_list_slides reports which slides are skipped.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide ID to skip (from gog_slides_list_slides) |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_unskip_slide
Include a previously skipped slide again when the deck is presented. Safe to call on a slide that was never skipped.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide ID to unskip (from gog_slides_list_slides) |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_update_notes
Update the speaker notes on a slide (inline text or from a file).
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
notes | string | New speaker notes text |
notesFile | string | Path to a file containing new speaker notes |
gog_slides_replace_slide
Replace the image content of an existing slide, from a file on the gog server (image), an uploaded file (blobKeys) or a public HTTPS URL (url — no Drive upload or sharing required), with optional speaker notes. On a hosted deployment, where no path on your machine exists, upload the image with gog_upload_slots and pass blobKeys instead of image.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide ID to replace |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
blobKeys | array | Hosted deployments: blobKeys from gog_upload_slots for files you have ALREADY PUT to their uploadUrl. This is how to send a file you hold (a photo, a PDF) when this server is remote: no base64 in the… |
image | string | Path to the new image file on the gog server (exactly one of image, url or blobKeys) |
notes | string | Speaker notes text |
notesFile | string | Path to a file containing speaker notes |
url | string | Public HTTPS image URL to use directly — no Drive upload or sharing (exactly one of image, url or blobKeys) |
gog_slides_raw
Dump the raw Google Slides API response (Presentations.Get) as JSON — lossless presentation metadata including every page, element, and style. Use gog_slides_read_slide for a friendlier per-slide view.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
pretty | boolean | Pretty-print the JSON (default: compact single line) |
gog_slides_locate
Locate literal text in a presentation's shapes and table cells, returning the containing element object IDs and UTF-16 ranges needed for gog_slides_style_text / gog_slides_link / gog_slides_bullets / gog_slides_insert_text. Read-only.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
text * | string | Literal text to locate |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
all | boolean | Return all matches instead of just one |
failEmpty | boolean | Treat no matches as an error instead of returning an empty result |
matchCase | boolean | Case-sensitive matching |
occurrence | integer | Return the Nth occurrence (1-based; default: first) |
page | string | Limit matches to one slide object ID |
gog_slides_thumbnail
Get or download a rendered thumbnail image for a single slide.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide object ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
format | string | Thumbnail image format |
out | string | Write the thumbnail image to a local file |
overwrite | boolean | Overwrite the output file if it already exists |
size | string | Thumbnail size |
gog_slides_new_slide
Create a new native themed slide with a predefined layout (default BLANK) or an exact presentation layout object ID, at a zero-based insertion index.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
index | integer | Zero-based insertion index for the new slide |
layout | string | Predefined slide layout (default: BLANK). Mutually exclusive with layoutId. |
layoutId | string | Exact presentation layout object ID (from gog_slides_info --json). Mutually exclusive with layout. |
gog_slides_duplicate_slide
Duplicate a slide by object ID, optionally placing the copy at a zero-based insertion index.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide object ID to duplicate |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
toIndex | integer | Zero-based insertion index for the duplicated slide |
gog_slides_move_slide
Move a slide to a zero-based insertion index within the presentation.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide object ID to move |
toIndex * | integer | Zero-based insertion index where the slide should be moved |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_insert_text
Insert text into an existing page element (shape or table cell) by object ID. Target a table cell with zero-based row + col. Use replace=true to clear the element's existing text first.
| Parameter | Type | Description |
|---|---|---|
objectId * | string | Object ID of the target shape or table |
presentationId * | string | Presentation ID |
text * | string | Text to insert |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
col | integer | 0-based table column index for cell-targeted text (requires row) |
insertionIndex | integer | Zero-based index where text is inserted within the element's existing text |
replace | boolean | Clear the element's existing text before inserting |
row | integer | 0-based table row index for cell-targeted text (requires col) |
gog_slides_style_text
Apply range-scoped text styling to one page element. range is a UTF-16 start:end span (use gog_slides_locate to find it). Boolean flags set the attribute; the no* flags clear it.
| Parameter | Type | Description |
|---|---|---|
objectId * | string | Object ID of the shape or table cell containing the text |
presentationId * | string | Presentation ID |
range * | string | UTF-16 text range as start:end |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
bold | boolean | Set bold |
font | string | Font family (e.g. Arial, Georgia) |
italic | boolean | Set italic |
noBold | boolean | Clear bold |
noItalic | boolean | Clear italic |
noUnderline | boolean | Clear underline |
size | number | Font size in points |
textColor | string | Text color as #RRGGBB or #RGB |
underline | boolean | Set underline |
gog_slides_link
Apply or clear a hyperlink on a UTF-16 text range in one page element. Provide url to set the link, or clear=true to remove it.
| Parameter | Type | Description |
|---|---|---|
objectId * | string | Object ID of the shape or table cell containing the text |
presentationId * | string | Presentation ID |
range * | string | UTF-16 text range as start:end |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
clear | boolean | Remove the hyperlink from the selected range |
url | string | External URL to apply as the hyperlink |
gog_slides_bullets
Turn paragraph bullets on or off for a UTF-16 paragraph range in one page element. Use on (optionally with a preset glyph) or off.
| Parameter | Type | Description |
|---|---|---|
objectId * | string | Object ID of the shape or table cell containing the paragraphs |
presentationId * | string | Presentation ID |
range * | string | UTF-16 paragraph range as start:end |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
off | boolean | Turn bullets off for the selected paragraphs |
on | boolean | Turn bullets on for the selected paragraphs |
preset | string | Slides bullet glyph preset to use with on (e.g. BULLET_DISC_CIRCLE_SQUARE) |
gog_slides_replace_text
Find-and-replace text within an explicit scope. You MUST choose a scope — restrict to a single shape (object), one or more slides (pages), or the entire presentation (all=true). There is no whole-deck default; gog rejects the call if no scope is given.
| Parameter | Type | Description |
|---|---|---|
find * | string | Text to find |
presentationId * | string | Presentation ID |
replacement * | string | Replacement text |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
all | boolean | Scope: replace matching text across the entire presentation |
matchCase | boolean | Case-sensitive match (default: false) |
object | string | Scope: restrict replacement to a single shape text object ID |
pages | array | Scope: restrict replacement to these slide object IDs (repeatable) |
gog_slides_element_create_shape
Create a native shape on a slide. type is a Slides shape type (e.g. RECTANGLE, TEXT_BOX, ELLIPSE, ROUND_RECTANGLE). Position/size are in unit (default PT).
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide object ID to create the shape on |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
height | number | Shape height |
objectId | string | Optional stable object ID (5-50 chars: letters, digits, _, -, :) |
type | string | Slides shape type (e.g. RECTANGLE, TEXT_BOX, ELLIPSE) |
unit | string | Geometry unit (default: PT) |
width | number | Shape width |
x | number | Left position |
y | number | Top position |
gog_slides_element_create_line
Create a native line on a slide. category is the connector routing (STRAIGHT, BENT, CURVED). Start position and extent are in unit (default PT).
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
slideId * | string | Slide object ID to create the line on |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
category | string | Line category / routing (default: STRAIGHT) |
height | number | Vertical extent |
objectId | string | Optional stable object ID (5-50 chars: letters, digits, _, -, :) |
unit | string | Geometry unit (default: PT) |
width | number | Horizontal extent |
x | number | Start X position |
y | number | Start Y position |
gog_slides_element_style
Style a shape fill/outline or a line. Set kind to shape or line. Colors are #RGB or #RRGGBB.
| Parameter | Type | Description |
|---|---|---|
objectId * | string | Object ID of the shape or line |
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
fillColor | string | Shape fill as #RGB or #RRGGBB |
fillTransparent | boolean | Remove the shape fill |
kind | string | Element kind (default: shape) |
outlineColor | string | Shape outline or line color as #RGB or #RRGGBB |
outlineDash | string | Shape outline or line dash style |
outlineTransparent | boolean | Remove the shape outline or make the line transparent |
outlineWeight | number | Shape outline or line weight in points |
gog_slides_element_transform
Move, resize, rotate, or shear a page element. apply-mode RELATIVE (default) composes with the existing transform; ABSOLUTE replaces it. Translation is in unit (default PT).
| Parameter | Type | Description |
|---|---|---|
objectId * | string | Object ID of the element to transform |
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
applyMode | string | Compose with (RELATIVE, default) or replace (ABSOLUTE) the existing transform |
rotate | number | Clockwise rotation in degrees around the element origin |
scaleX | number | X scale (omitted axis defaults to 1) |
scaleY | number | Y scale (omitted axis defaults to 1) |
shearX | number | X shear |
shearY | number | Y shear |
translateX | number | X translation |
translateY | number | Y translation |
unit | string | Translation unit (default: PT) |
gog_slides_element_z_order
Change a page element's stacking order.
| Parameter | Type | Description |
|---|---|---|
objectId * | string | Object ID of the element to restack |
operation * | string | Stacking operation |
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_element_group
Group two or more page elements into a single group.
| Parameter | Type | Description |
|---|---|---|
objectIds * | array | Two or more element object IDs to group |
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
groupId | string | Optional stable group object ID |
gog_slides_element_ungroup
Ungroup one or more element groups back into their constituent elements.
| Parameter | Type | Description |
|---|---|---|
groupIds * | array | One or more group object IDs to ungroup |
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_element_alt_text
Set or clear a page element's accessibility title and/or description. Pass an empty string to clear a field.
| Parameter | Type | Description |
|---|---|---|
objectId * | string | Object ID of the element |
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
description | string | Accessibility description (empty string clears it) |
title | string | Accessibility title (empty string clears it) |
gog_slides_element_delete
Delete one page element by object ID.
| Parameter | Type | Description |
|---|---|---|
objectId * | string | Object ID of the element to delete |
presentationId * | string | Presentation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_table_create
Create an auto-sized native table on a slide with the given row and column counts.
| Parameter | Type | Description |
|---|---|---|
cols * | integer | Number of columns (>=1) |
presentationId * | string | Presentation ID |
rows * | integer | Number of rows (>=1) |
slideId * | string | Slide object ID to create the table on |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
objectId | string | Optional stable table object ID (5-50 chars: letters, digits, _, -, :) |
gog_slides_table_cell_style
Style one zero-based table cell: background fill, vertical content alignment, and inline text styling (optionally scoped to a UTF-16 range within the cell). Boolean flags set the attribute; the no* flags clear it.
| Parameter | Type | Description |
|---|---|---|
col * | integer | 0-based table column index |
presentationId * | string | Presentation ID |
row * | integer | 0-based table row index |
tableObjectId * | string | Table object ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
bold | boolean | Set bold |
contentAlign | string | Vertical content alignment within the cell |
fillColor | string | Cell background fill as #RGB or #RRGGBB |
fillTransparent | boolean | Remove the cell background fill |
font | string | Font family (e.g. Arial, Georgia) |
italic | boolean | Set italic |
noBold | boolean | Clear bold |
noItalic | boolean | Clear italic |
noUnderline | boolean | Clear underline |
range | string | UTF-16 text range as start:end to scope text styling within the cell |
size | number | Font size in points |
textColor | string | Text color as #RRGGBB or #RGB |
underline | boolean | Set underline |
gog_slides_table_border_style
Style borders around or within a zero-based table cell range. position selects which borders are affected; dash sets the line style.
| Parameter | Type | Description |
|---|---|---|
col * | integer | 0-based starting column index |
presentationId * | string | Presentation ID |
row * | integer | 0-based starting row index |
tableObjectId * | string | Table object ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
borderColor | string | Border color as #RGB or #RRGGBB |
colSpan | integer | Number of columns in the range |
dash | string | Border dash style |
position | string | Which borders to style |
rowSpan | integer | Number of rows in the range |
transparent | boolean | Make the selected borders transparent |
weight | number | Border weight in points |
gog_slides_table_column_insert
Insert one or more columns relative to a zero-based table column. Inserts to the left by default, or to the right with right=true.
| Parameter | Type | Description |
|---|---|---|
col * | integer | 0-based reference column index |
presentationId * | string | Presentation ID |
tableObjectId * | string | Table object ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
count | integer | Number of columns to insert (default: 1) |
right | boolean | Insert to the right of the reference column instead of the left |
gog_slides_table_column_delete
Delete the column containing a zero-based table cell.
| Parameter | Type | Description |
|---|---|---|
col * | integer | 0-based column index to delete |
presentationId * | string | Presentation ID |
tableObjectId * | string | Table object ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_table_column_size
Set the width of a zero-based table column.
| Parameter | Type | Description |
|---|---|---|
col * | integer | 0-based column index |
presentationId * | string | Presentation ID |
tableObjectId * | string | Table object ID |
width * | number | Column width in points |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_table_row_insert
Insert one or more rows relative to a zero-based table row. Inserts above by default, or below with below=true.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
row * | integer | 0-based reference row index |
tableObjectId * | string | Table object ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
below | boolean | Insert below the reference row instead of above |
count | integer | Number of rows to insert (default: 1) |
gog_slides_table_row_delete
Delete the row containing a zero-based table cell.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | Presentation ID |
row * | integer | 0-based row index to delete |
tableObjectId * | string | Table object ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_table_row_size
Set the minimum height of a zero-based table row.
| Parameter | Type | Description |
|---|---|---|
height * | number | Minimum row height in points |
presentationId * | string | Presentation ID |
row * | integer | 0-based row index |
tableObjectId * | string | Table object ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_slides_table_merge
Merge a rectangular table cell range starting at a zero-based cell. Content of non-anchor cells is absorbed by the merge; use gog_slides_table_unmerge to split back.
| Parameter | Type | Description |
|---|---|---|
col * | integer | 0-based anchor column index |
presentationId * | string | Presentation ID |
row * | integer | 0-based anchor row index |
tableObjectId * | string | Table object ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
colSpan | integer | Number of columns to merge |
rowSpan | integer | Number of rows to merge |
gog_slides_table_unmerge
Unmerge (split) a rectangular range of previously merged cells, starting at a zero-based cell.
| Parameter | Type | Description |
|---|---|---|
col * | integer | 0-based anchor column index |
presentationId * | string | Presentation ID |
row * | integer | 0-based anchor row index |
tableObjectId * | string | Table object ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
colSpan | integer | Number of columns in the range |
rowSpan | integer | Number of rows in the range |
gog_upload_slots
HOSTED DEPLOYMENTS: how to give this server a FILE you hold (a photo, a PDF, an .eml). This server runs remotely and cannot read paths on your machine, so call this first with the files' names: it returns one signed upload slot per file. PUT each file's bytes to its uploadUrl (each slot carries a ready `curl` command — replace the <path to …> placeholder; the Content-Type must be exactly the slot's mimeType), then pass the slots' blobKeys in the `blobKeys` parameter of the tool that takes the file: gog_gmail_send, gog_gmail_reply, gog_gmail_reply_all, gog_gmail_drafts_create, gog_gmail_dra…
| Parameter | Type | Description |
|---|---|---|
files * | array | One entry per file: {filename, mimeType?}. The filename is the name the recipient / Drive will show, and its extension is how gog types an attachment — give it the right one. |