resize_shape
Resize a Visio shape to specific width and height by providing its shape ID. Set new dimensions in inches to adjust the shape's size within a diagram.
Instructions
Resize a shape to new dimensions.
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": {
"shapeId": "<shapeId>",
"width": "<width>",
"height": "<height>"
},
"name": "resize_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | New width in inches. | |
| height | Yes | New height in inches. | |
| shapeId | Yes | Shape ID, e.g. "Sheet.5". | |
| pageIndex | No | 0-based page index. |