get_page_state
Retrieve a full inventory of shapes on a Visio page, including IDs, names, positions, sizes, text, connectors, and container memberships. Use it to rediscover shape IDs after opening or modifying a document.
Instructions
List everything on a page: shape ids, master names, positions (inches, center), sizes, text, connector endpoints (from_id/to_id), and container membership (container_ids). Call this to (re)discover shape ids, e.g. after open_document.
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": "get_page_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No |