read_diagram_file
Parse an existing .drawio diagram file to retrieve cell details including IDs, positions, labels, styles, and connections for inspection before modification.
Instructions
Read and parse an existing .drawio diagram file. Returns all cells with their IDs, positions, labels, styles, and connections. Useful for inspecting a generated diagram to understand its structure before making changes.
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": {
"file_path": "<file_path>"
},
"name": "read_diagram_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to .drawio file (absolute, or relative to ./output/) |