Replace a whiteboard's content
update_boardReplaces an existing board page's entire scene with a new sketch or raw Excalidraw scene. Use it to rewrite a board's diagram content in one write, with a selfcheck before saving.
Instructions
Replaces an existing board page's whole scene. Prefer sketch over scene — see create_board's description for the DSL shape and the selfcheck this goes through before writing. Provide exactly one of sketch/scene. Requires a write-scoped token.
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": {
"id": "<id>"
},
"name": "update_board"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Board page id | |
| scene | No | Full raw Excalidraw scene {elements, appState?, files?} for manual control. | |
| sketch | No | Preferred — see create_board. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page id | |
| icon | No | Emoji icon, if the page has one | |
| kind | Yes | Page kind: doc, board, table, form, base, canvas, artifact, pdf or office | |
| path | Yes | Path relative to the space root | |
| cover | No | Cover image URL, if the page has one | |
| order | Yes | Position among its siblings | |
| space | Yes | Space slug the page belongs to | |
| title | Yes | Page title | |
| status | Yes | Page status | |
| updatedAt | Yes | Last change, ISO timestamp |