Inspect diagram image
get_drawing_previewOPTIONAL: render the current drawing as a 1200x630 PNG image so you can inspect arrangement and labels before deciding whether to edit. Use view:'fit' for the complete layout or view:'camera' for the published camera. This is a simplified light-theme preview, not a pixel-perfect browser export; no edit token is required. Do not call by default after every edit.
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": {
"id": "<id>"
},
"name": "get_drawing_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | UUID from /draw/<uuid>. | |
| view | No | Default fit: show all objects; camera: published initial viewport. |