lousa
v0.1.1A whiteboard where AI agents draw their explanations as hand-drawn animated diagrams
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_board
Creates a board (a hand-drawn visual explanation) on Lousa and returns {id, url}. Open/share the url with the user — the drawing animates in as if sketched live. You author the drawing: think like a senior engineer sketching on a whiteboard. Coordinates: x grows right, y grows down; design within ~1600x1000 (exceed if needed). Guidelines: flow left-to-right or top-to-bottom; generous spacing (>=60 between shapes); few colors with meaning (blue components, green happy path, red errors/bottlenecks, gray context, purple storage); short labels; title via type=text size=32; caveats as type=note;…
| Parameter | Type | Description |
|---|---|---|
scene * | array | The complete scene, in drawing order (titles and shapes before the arrows that connect them). |
title * | string | Short board title. |
narration | string | 1-2 sentences about what the drawing shows (shown as a card in the viewer). |
requests | array | The user request(s) that originated the board. |
ttlHours | number | Hours until the board expires and is deleted (default 12; 0 = permanent; max 720). Expiry slides on every update. Use 0 only if the user asks to keep the board. |
update_board
Updates an existing board. The scene you send REPLACES the current one entirely: keep unchanged elements byte-identical (same id and fields) — the viewer animates only what changed, live in the user's open tab; to remove an element, omit it. If the user's request references something they pointed at ("what I selected", "this part"), call get_selection first to learn the target.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
appendRequest | string | The user's follow-up request, for the board history. |
narration | string | |
scene | array | The complete scene, in drawing order (titles and shapes before the arrows that connect them). |
title | string | |
ttlHours | number | Changes expiry (default 12h since last update; 0 = permanent). Use 0 when the user asks to keep/pin the board. |
get_board
Reads a full board (title, narration, scene, requests, selection).
| Parameter | Type | Description |
|---|---|---|
id * | string |
list_boards
Lists existing boards (id, title, narration, element count, dates).
get_selection
Returns what the user selected in the viewer (click toggles; Esc clears): {selection: ids, selectionAt, elements}. Use when the user references "what I selected" / "this part" — those elements are the target of the request. An old selectionAt may be residue from a previous request; when in doubt, confirm the target.
| Parameter | Type | Description |
|---|---|---|
id * | string |
delete_board
Deletes a board permanently.
| Parameter | Type | Description |
|---|---|---|
id * | string |