Visio Diagram Automation
Workflow capability for automating Visio diagram inspection, data extraction, and visual presentation via the Visio JavaScript API embedded in SharePoint Online. Used by developers and business analysts to programmatically read diagram content, extract business data from shapes, navigate pages, and update visual highlighting for interactive dashboard experiences.
What You Can Do
MCP Tools
get-document
Get the active Visio document properties and settings
list-pages
List all pages in the embedded Visio diagram
get-active-page
Get the currently active page in the Visio diagram
get-page
Get a specific Visio page by name
list-shapes
List all shapes on a named Visio page
get-shape
Get details of a specific shape including text and bounding box
list-shape-data-items
Extract business data items stored in a shape
list-shape-hyperlinks
List hyperlinks embedded in a Visio shape
list-shape-comments
Read comments attached to a Visio shape