diagram_read
Retrieve the current diagram as a compact cell summary or full draw.io XML. Reads from the live canvas if connected, otherwise the saved current.drawio for agent inspection.
Instructions
Read the current diagram. Default is a compact cell summary for the agent. Pass format=xml for the full draw.io XML. Uses the live canvas if connected, otherwise the saved current.drawio. Does not create directories.
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": "diagram_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No |