List shapes
visio_list_shapesLists shapes on a Visio page, returning each shape's ID, text, master, and center coordinates. Use this to identify shapes for subsequent editing operations.
Instructions
List the shapes on a page with their id, text, master and geometry.
This is the way to find the shape ids every editing tool needs. x and y are the centre of the shape in inches from the bottom-left of the page.
Args: 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. include_connectors: Set false to hide connector lines and see only the boxes.
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": "visio_list_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| document | No | ||
| include_connectors | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |