export_page_png
Export a page as PNG and return the image to visually inspect the diagram, verify layout, and iterate on results.
Instructions
Export a page as PNG and RETURN THE IMAGE so you can visually inspect the diagram. Use this after dropping/connecting/layout to verify the result and iterate.
Args: path: Output .png path; omit for an auto-named temp file. page: Page name; defaults to the active page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_page_png"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| path | No |