export_image
Exports the open Wonderdraft map as a PNG or JPG file at a specified path without overwriting existing files, either through the Wonderdraft app or a full-scale preview render.
Instructions
Export the open map as an image file at path (never overwrites an existing file; a .png/.jpg suffix must match format, and is added if missing). via="wonderdraft" drives the real Wonderdraft app (Windows only) and takes about 15-20 s: close Wonderdraft first and do not type meanwhile. It needs the map saved with no unsaved edits. If automation is unavailable or fails, nothing is written and the result has via="instructions" with manual steps (open the map, press Ctrl+E) in the summary. via="preview" writes a full-scale render from this server instead.
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": {
"path": "<path>"
},
"name": "export_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| via | No | wonderdraft | |
| path | Yes | ||
| format | No | png |