export_diagram
Export a local .drawio diagram to PNG, SVG, PDF, JPG, or XML format using the Draw.io desktop exporter.
Instructions
Export the current local .drawio file. .drawio copies XML; png/svg/pdf/jpg use the local Draw.io exporter.
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_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | No |