export
Saves a mind map or flowchart diagram to a local file in SVG, PNG, JSON, or Markdown so you can share, archive, or reuse it.
Instructions
The view writes the diagram to a file on this machine.
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": {
"docId": "<docId>",
"format": "<format>"
},
"name": "export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | SVG text or a PNG data URL, drawn by the view | |
| docId | Yes | The docId a visualize result gave you | |
| format | Yes |