read_diagram
Analyze an existing .excalidraw file to extract shapes, labels, positions, connections between shapes, and color scheme. Returns a structured, human-readable description of the diagram's structure.
Instructions
Read and analyze an existing .excalidraw file.
Returns a structured description of the diagram including:
List of shapes with labels and positions
List of connections between shapes
Color scheme used
Args: file_path: Path to the .excalidraw file
Returns: Human-readable description of the diagram structure
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |