Create a whiteboard (board) page
create_boardCreates a new Excalidraw whiteboard page in Folio Wiki from a compact sketch DSL or raw scene, validating elements before saving.
Instructions
Creates a new Excalidraw whiteboard page. Prefer sketch — a compact {background?, nodes, edges} DSL (nodes: rectangle/ellipse/diamond/text/frame with x/y/label/color; edges: from/to/label with orthogonal routing by default) — over scene, a full raw Excalidraw JSON {elements, appState?, files?}, unless you need manual control over exact element geometry. Provide exactly one of sketch/scene. The scene is selfchecked (dangling bindings, bound text overflowing its container, an element sticking out of its frame all reject the call with a clear error) before anything is written. 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": {
"space": "<space>",
"parentPath": "<parentPath>",
"title": "<title>"
},
"name": "create_board"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | No | Full raw Excalidraw scene {elements, appState?, files?} for manual control. | |
| space | Yes | Space slug | |
| title | Yes | Board title | |
| sketch | No | Preferred. {background?, nodes: [{id,type,label?,x,y,w?,h?,color?,background?,fontSize?,frame?,link?,align?,valign?,overflow?}], edges: [{id?,from,to,label?,elbowed?,start?,end?,color?,fromSide?,toSide?}]} | |
| parentPath | Yes | Parent directory path relative to the space root; "" for the space root |
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 |