Set slide background
set_slide_backgroundSet a slide’s background to a solid hex color by specifying the presentation ID, slide ID, and color. Use it to apply consistent background styling during presentation edits.
Instructions
Set a slide's background to a solid color.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"presentationId": "<presentationId>",
"slideId": "<slideId>",
"color": "<color>"
},
"name": "set_slide_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | Background color as hex, e.g. #0B1220 | |
| slideId | Yes | Slide (page) object ID from get_presentation or list_slides | |
| presentationId | Yes | Presentation ID. Found in the Google Slides URL: docs.google.com/presentation/d/<ID>/edit |