poll_room
Check a live Excalidraw room for new mentions, scene changes, or peer updates without loading the full canvas, so you can detect activity mid-task and decide whether to keep working or hand control back.
Instructions
Cheap state probe: connection state, sceneVersion, the peers, the ids and text of the pending mentions addressed to this agent, and whether the scene moved since a version you pass. Use it while you are working in a turn to notice a change without a full show_room; use wait_for_mention when you are handing the turn back to a person.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Text a note must contain to count as a mention. Omit it and this server answers to its own handle - "@<handle>", the handle room_status reports - and to "@claude", the broadcast tag every agent in the room hears; matching is case-insensitive. Pass a tag to match that text alone, which is how you read notes addressed to someone else. | |
| sinceVersion | No | A sceneVersion from an earlier call. changedSince is false only if the scene version still equals it. | |
| answerAgentMentions | No | Also return notes written by another agent in the room. False by default: a note stamped with another agent's handle is dropped, while notes people wrote (nothing stamps them) and this server's own notes are always returned. True returns them all, each with the 'from: <handle>' line naming its author - up to the room's agentReplyDepth, which bounds how far a chain an agent started may run before this agent stops hearing it. A chain a person started is never bounded. |