set_slide_background
Set a slide's background with a solid hex color or a linear gradient by providing a second color and angle. Call before adding other elements to keep it at the back.
Instructions
Fill a slide's background. Call this FIRST on a slide (it stacks at the
back). Pass color2 for a linear gradient from color→color2 at angle
degrees. Colors are hex like "#1a1a1a".
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": {
"doc_id": "<doc_id>",
"slide": "<slide>",
"color": "<color>"
},
"name": "set_slide_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | ||
| color | Yes | ||
| slide | Yes | ||
| color2 | No | ||
| doc_id | Yes |