read_diagram
Parse draw.io files to extract pages, nodes, and connections as structured data for programmatic analysis.
Instructions
Read and parse a draw.io diagram file, returning a structured overview of all pages, nodes (shapes), and edges (connections).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>"
},
"name": "read_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the .drawio file |