diagram_export
Export the current diagram to a specified .drawio file. Provide an absolute or relative path to save the diagram, or use to archive or share a snapshot from the draw.io canvas.
Instructions
Write the current diagram to an explicit filesystem path as .drawio. Relative paths resolve against the process cwd. Will not write unless path is provided.
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": "diagram_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or cwd-relative destination, e.g. ./docs/architecture.drawio |