gws-slides
googleworkspace/cli
Read and write Google Slides presentations via CLI.
What is gws-slides?
Google Slides skill enables programmatic access to create, read, and modify presentations through the Google Workspace CLI. Use it when you need to automate presentation creation, update slides in bulk, or retrieve presentation data.
- Create blank presentations with custom IDs
- Retrieve the latest version of any presentation
- Apply batch updates to presentations with validation
- Perform operations on individual pages within presentations
- Validate requests before applying changes to prevent partial failures
How to install gws-slides
npx skills add null --skill gws-slides- Google Workspace CLI (gws) installed
- Authentication configured via gws-shared skill
- Appropriate Google Slides API permissions
How to use gws-slides
- 1.Run `gws slides --help` to browse available resources and methods
- 2.Use `gws schema slides.<resource>.<method>` to inspect required parameters and types
- 3.Build your command with `--params` or `--json` flags based on schema output
- 4.Execute `gws slides <resource> <method> [flags]` with your desired operation
- 5.Review batch update responses to confirm changes were applied successfully
Use cases
- Automatically generate presentations from data or templates
- Bulk update multiple slides or presentations
- Extract presentation content for analysis or reporting
- Programmatically modify slide layouts, text, or images
- Create presentation workflows that integrate with other tools
- Automation engineers
- Data analysts creating dynamic reports
- Developers building presentation generation tools
- Google Workspace administrators managing bulk operations
gws-slides FAQ
The entire batch update request fails and nothing is applied. All requests are validated before being applied to ensure data consistency.
Run `gws schema slides.<resource>.<method>` to see required parameters, their types, and defaults.
Yes, when creating a presentation, you can provide a `presentationId` in the request. If not provided, a new ID is generated automatically.
The skill supports operations on the 'pages' resource; use `gws schema slides.pages.<method>` to see available page-level operations.
Full instructions (SKILL.md)
Source of truth, from googleworkspace/cli.
name: gws-slides description: "Google Slides: Read and write presentations." metadata: version: 0.22.5 openclaw: category: "productivity" requires: bins: - gws cliHelp: "gws slides --help"
slides (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws slides <resource> <method> [flags]
API Resources
presentations
batchUpdate— Applies one or more updates to the presentation. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests.create— Creates a blank presentation using the title given in the request. If apresentationIdis provided, it is used as the ID of the new presentation. Otherwise, a new ID is generated. Other fields in the request, including any provided content, are ignored. Returns the created presentation.get— Gets the latest version of the specified presentation.pages— Operations on the 'pages' resource
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws slides --help
# Inspect a method's required params, types, and defaults
gws schema slides.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Related skills
More from googleworkspace/cli and the wider catalog.
gws-gmail
Send, read, and manage Gmail emails via Google Workspace CLI.
gws-drive
Manage Google Drive files, folders, and shared drives via CLI.
gws-docs
Read and write Google Docs via command line.
gws-calendar
Manage Google Calendar events, calendars, and access control via CLI.
gws-sheets
Read and write Google Sheets spreadsheets via CLI.
gws-gmail-send
Send emails via Gmail with attachments, CC/BCC, HTML support, and draft options.