Format Shape
format_shapeChange a shape's fill color, outline color, and weight in an active PowerPoint presentation. Specify only the attributes to update; others remain unchanged.
Instructions
Format a shape's fill and outline.
Only arguments that are explicitly set are changed.
Args: presentation: Presentation name or path (None = active presentation). slide_index: 1-based slide index (required). shape: Shape name, or its 1-based index on the slide (required). fill_color: Hex RGB fill color, e.g. "4472C4" (with or without '#'). line_color: Hex RGB outline color. line_weight: Outline weight in points.
Returns: JSON confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | No | ||
| fill_color | No | ||
| line_color | No | ||
| line_weight | No | ||
| slide_index | No | ||
| presentation | No |