Save the board to a file
export_boardExports a whiteboard or selected shapes and their connectors to SVG, PNG, Mermaid, or JSON for sharing, documentation, or later redrawing.
Instructions
Writes the board (or some shapes and what connects them) to a file: svg or png (a picture), mermaid (a flowchart read back from the boxes and arrows, to keep in docs and redraw later) or json (the raw shapes). Relative paths are from the directory Claude Code was started in.
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": {
"format": "<format>",
"path": "<path>"
},
"name": "export_board"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File to write, e.g. docs/architecture.svg | |
| refs | No | Only these shapes, with the text in them and the arrows between them (a shape: its id, a node key you used, or the text on it) | |
| theme | No | svg/png background (default light) | |
| format | Yes |