wait_for_mention
Block until a text note addressed to you appears on the Excalidraw canvas, then return it with nearby elements. Poll repeatedly to catch mentions until timeout.
Instructions
Block until someone writes a text element addressed to this agent on the canvas, then return it with the elements around it. With no tag it answers to its own handle and to the '@claude' broadcast tag. Returns 'no mention' after timeoutSeconds so the caller can loop. A mention is reported once it has stopped changing for about 1.5s. Returning it also marks it seen on the canvas (amber stroke and a marker) so the person knows the note landed; pass autoSeen false to poll without touching the drawing. Acknowledge it with acknowledge_mention when done, which removes the handled note from the canvas; reply about the work in chat.
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. | |
| radius | No | How far around the mention to look for related elements, in canvas px. Defaults to the room's nearbyRadius. | |
| autoSeen | No | Mark the mention seen on the canvas (amber stroke plus a marker) as soon as it is returned. Set false for silent polling. | |
| timeoutSeconds | No | ||
| 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. |