set_slides_background
Sets a slide's background to a solid hex color, overriding inherited master or layout background. Specify opacity for transparency control.
Instructions
Set the background fill color of a single slide (the page itself).
Changes the slide's own background — distinct from styling a shape placed
on the slide. For per-shape fill, use style_slides_shape. To change
background for multiple slides, call this tool once per slide.
Requires OAuth scope: https://www.googleapis.com/auth/presentations (write).
Overrides any inherited master/layout background with a solid color.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| presentation_id | Yes | Google Slides presentation ID (from the URL after `/d/`). | |
| page_object_id | Yes | Object ID of the slide whose background to change. Get it from `get_presentation.slides[].objectId`. Must reference a slide page (not a master/layout). | |
| color | Yes | Hex color for the background, e.g., `#F5F5F5` or `F5F5F5`. Accepts `#RRGGBB` or `RRGGBB`. | |
| alpha | No | Opacity of the background fill, 0.0 (transparent) to 1.0 (opaque). Default `1.0`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |