# Whiteboards

The 4 tools for whiteboards. Before an agent first makes one, it reads guide topic whiteboards.

## create_whiteboard

Make a whiteboard in a space: an endless shared canvas of shapes, sticky notes, text, arrows, lines, pen strokes, pictures (yours drawn as SVG, or from add_asset) and sections — for brainstorms, retros, timelines, maps of ideas, explainers and plans that people rearrange together, with everyone's cursor live. Give its elements back to front, sections first. Read guide topic "whiteboards" first; see it with render_whiteboard.

Parameters:
- `space_id` (string, required)
- `title` (string, required)
- `elements` (object[])

## read_whiteboard

A whiteboard as it is now, people's drawing included: its elements back to front, each with its id, type, place (x, y, w, h), words, colours, the section it is in, what an arrow joins, and who made it (by), plus the board's bounds and checks. People move and change things: read before every change.

Parameters:
- `item_id` (string, required)

## update_whiteboard

Change a whiteboard. Any of: title; add (new elements, written like create_whiteboard's, drawn on top); change (by id: only the fields given change — moving a section moves what is in it, moving a shape takes its arrows along; order front or back); remove (by id: an element goes with its words and the arrows joined to it). Applied in that order, all or nothing, while people may be working on the board: only what you name changes. read_whiteboard first for the ids.

Parameters:
- `item_id` (string, required)
- `title` (string)
- `add` (object[])
- `change` (object[])
- `remove` (string[])

## render_whiteboard

See a whiteboard as people do: a screenshot of the whole board fitted to the view (or of one area), with checks — things lying on each other, things sticking out of their section, boxes made taller to fit their words, pictures that did not load — and errors the page hit.

Parameters:
- `item_id` (string, required)
- `area` (object): Only this part of the board, in board units.
