Set shape text
visio_set_shape_textReplace the text of a shape in a Visio document. Specify the shape ID and new text, optionally targeting a specific page or document.
Instructions
Replace the text of one shape.
Args: shape_id: Id from visio_list_shapes. text: New text. Use \n for a line break. page: Page name or 1-based index. Omit for the page on screen. document: File name or 1-based index. Omit for the active document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| text | Yes | ||
| document | No | ||
| shape_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| page | No | ||
| action | Yes | ||
| detail | Yes | ||
| affected | No | ||
| document | No | ||
| shape_id | No |