save_state
Saves canvas edits to a mind map or flowchart by applying a batch of node, edge, and style operations, keeping the diagram in sync with changes.
Instructions
The view saves what the user changed on the canvas.
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>",
"ops": "<ops>"
},
"name": "save_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | ||
| docId | Yes | The docId a visualize result gave you |