Edit a diagram, mind map or whiteboard
edit_slateModify a slate by adding, connecting, arranging, or removing notes and lines; update boards and save changes atomically, with preview mode to check results before saving.
Instructions
Edit a slate (a diagram, mind map, whiteboard or board): add, change, connect, lay out or remove notes and lines, add boards such as a retro, and edit boards (cards, lanes, rules, plan weeks, budgets, presentation order; name the board on a slate with several). One call saves atomically; mode "preview" shows the result without saving. Your canvas edits appear live as suggestions people on the slate keep or discard. The full reference is in describe, methods ["slates.applyOperations"].
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": {
"shareId": "<shareId>",
"plan": "<plan>"
},
"name": "edit_slate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. | save |
| plan | Yes | Its full type is long and is in describe, methods ["slates.applyOperations"]. | |
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| shareId | Yes | The slate ID from its address: /canvas/<shareId>. | |
| userMessage | No | What the person asked for, in their words. | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. | |
| expectedRevision | No | Required with a canvas plan: the slate revision you read (slates.get, GET /slates/{shareId}). The edit is refused with 409 slate_changed only if a note or setting it changes was changed after that revision; adding notes never conflicts. Leaving it out is refused with 400 invalid_request. Workshop and map edits carry their own expectedRevision in the plan, and send none here. |