screenshot_diagram
Capture a PNG screenshot of the current draw.io diagram to analyze its visual layout, styling, and readability using a vision-capable model.
Instructions
Capture a screenshot (PNG image) of the current draw.io diagram as it appears in the editor. Returns the image so a vision-capable model can analyze the visual layout, styling, and readability. Requires the diagram to be open in VS Code with the companion extension connected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Export scale factor (default: 1). Use 2 for higher resolution. | |
| border | No | Border padding in pixels around the diagram (default: 10) | |
| filePath | Yes | Path to the .drawio file (must be open in VS Code) |