set_shape_text
Update or replace a shape's text label in a Visio diagram by providing its shape ID and new text content, with optional page index.
Instructions
Set or replace the text label of a shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | New text content. | |
| shapeId | Yes | Shape ID, e.g. "Sheet.5". | |
| pageIndex | No | 0-based page index. Default: first page. |