productivity
Google Slides CLI for Coding Agents
Use the Google Slides CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 5 read 2 write Manual OAuth token auth
Google Slides CLI for Coding Agents
Let coding agents discover schemas and execute integration functions through CLI commands or MCP.
Use this pattern when another coding agent needs exact commands and schema discovery. The Google Slides CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Google Slides CLI for Coding Agents
kosmokrator integrations:configure google-slides --set access_token="$GOOGLE_SLIDES_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call google-slides.gslides_list_presentations '{"pageSize":1,"pageToken":"example_pageToken"}' --json Discovery Before Execution
Agents and scripts can inspect Google Slides docs and schemas before choosing a function.
kosmo integrations:docs google-slides --json
kosmo integrations:docs google-slides.gslides_list_presentations --json
kosmo integrations:schema google-slides.gslides_list_presentations --json
kosmo integrations:search "Google Slides" --json
kosmo integrations:list --json Useful Google Slides CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
google-slides.gslides_list_presentations | Read | pageSize, pageToken | List Google Slides presentations from the user's Drive. Returns presentation IDs, titles, and metadata. |
google-slides.gslides_get_presentation | Read | id | Get full details of a specific Google Slides presentation, including all slides, page elements, and layout information. |
google-slides.gslides_create_presentation | Write | title | Create a new, blank Google Slides presentation with a given title. |
google-slides.gslides_list_slides | Read | id, pageSize, pageToken | List all slides in a Google Slides presentation. Returns slide object IDs and thumbnails. |
google-slides.gslides_get_slide | Read | id, page, objectIdField | Get details of a specific slide (page) in a Google Slides presentation, including all page elements and their properties. |
google-slides.gslides_create_slide | Write | id, pageObjectId, createObject, elements | Add a new slide to an existing Google Slides presentation. Optionally add text boxes and shapes to the new slide. |
google-slides.gslides_get_current_user | Read | none | Get the authenticated Google user's profile information (display name, email, photo). |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.