format_shapes
Apply fill color and font formatting to multiple shapes on a PowerPoint slide in one call, preserving the current view position while updating shapes in place.
Instructions
Apply formatting to multiple shapes on a slide in one call. Generates Office.js code internally. Use for fill color, font bold/italic/size/color/name. Cannot set corner radius or borders (use edit_slide_xml code mode for those). Runs in place (no slide reimport), so PowerPoint view position is preserved.
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": {
"slide": "<slide>",
"shapes": "<shapes>"
},
"name": "format_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slide | Yes | Slide number, 1-based (slide 1 = first slide) | |
| shapes | Yes | Shapes to format with their properties | |
| presentationId | No | Target presentation ID from list_presentations. Optional when only one presentation is connected. |