preview_drawing
Generate a read-only PNG preview of a drawing with custom size, crop, padding, background, and scale. ID selection crops regions with context, without editing or exporting the source.
Instructions
Read-only PNG preview: set width/height, an absolute crop or selected ids, padding, background and scaleUp. ID selection crops the region including nearby context; it does not edit or export source.
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": {
"name": "<name>"
},
"name": "preview_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact drawing file stem, without the .drawfather extension. Preserve the user-requested name; this is separate from design.title. | |
| options | No |