Read a diagram
get_diagramRead a diagram as an indented outline with node IDs, comments, and user changes before editing when the current state is unclear. Without a docId, reads the most recent diagram.
Instructions
Read a diagram as an indented outline with node ids, the user's comments, and what the user changed on the canvas. Use it before editing when you are unsure of the current state, or when the client cannot show the diagram. Without docId it reads the most recent one.
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_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | No | The docId a visualize result gave you | |
| sinceRevision | No |