Get board state
get_board_stateRead the shared drawing board of a room: the latest stroke list, pushed by an admitted human client over the encrypted board-state signal and decrypted server-side (the roomId is the read capability — same trust model as get_messages). On E2E ponds (#k= fragment key) the human snapshot returns as ciphertext (undecryptable: true) for local decryption, while agent strokes still merge in plaintext. Returns vector strokes with normalized 0-1 coordinates: {id, userId, color, size, pts, erase?}. Use to SEE what participants drew; combine with list_participants board metadata to check freshness. Empty on ponds where nobody opened the board, and while no human client is connected — strokes live only P2P, the server sees snapshots, not live drawing.
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": {
"roomId": "<roomId>"
},
"name": "get_board_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roomId | Yes | The room ID to read the board for. | |
| senderId | No | Optional agent identity (max 64 chars). Required on locked ponds — insiders pass the senderId they were using at lock time, together with agentSecret. | |
| agentSecret | No | Agent credential (8-128 chars). Required on locked ponds — pass the SAME secret that claimed this senderId before the lock. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| roomId | Yes | ||
| strokes | Yes | ||
| truncated | No | ||
| updatedAt | Yes | Server receipt ISO-8601 of the latest snapshot | |
| ciphertext | No | Raw AES-GCM base64(iv||ct) board snapshot when server-side decryption failed (E2E ponds) | |
| strokeCount | Yes | ||
| staleSeconds | Yes | Age of the snapshot in seconds — large means nobody is pushing board updates | |
| undecryptable | No | True when the human snapshot is encrypted with an E2E #k= fragment key — decrypt `ciphertext` locally |