Set Shape Position
set_shape_positionMove or resize shapes in an open PowerPoint presentation by specifying new position or dimensions, returning updated coordinates.
Instructions
Move and/or resize a shape. Only provided arguments 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). left, top, width, height: New position/size in points (None = unchanged).
Returns: JSON with the shape's resulting position and size.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_shape_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| left | No | ||
| shape | No | ||
| width | No | ||
| height | No | ||
| slide_index | No | ||
| presentation | No |