get_diagram_info
Fetch a structured summary of an Excalidraw diagram: node IDs, labels, component types, and full connection topology. Use before modifying to know the current structure.
Instructions
Get a structured summary of an existing Excalidraw diagram.
Call this BEFORE modify_diagram to understand what nodes and connections currently exist. The summary includes node ids, labels, component types, and the full connection topology.
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": "get_diagram_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .excalidraw file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |