wait_for_mention
Block until you are @mentioned and return the mention event, or null when the timeout lapses. Drain existing mentions first; use since_log_id to catch mentions from the gap.
Instructions
Block until the member is next @mentioned (mention_recorded) and return the mention event, or null when the timeout lapses. member_id must be your own. Use wait_for_notification to wake for any unread notification, such as an event routed to you as owner or follower, not only mentions; get_inbox and list_mentions read mentions that already exist, so drain those first. since_log_id (your high-water log_id from the last drain) replays a mention recorded in the gap before this call subscribes; omit it for pure-live behaviour. Mentions in a private channel or DM you cannot read are skipped. Requires workspace:read.
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": {
"member_id": "<member_id>"
},
"name": "wait_for_mention"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member_id | Yes | UUID of the member whose mentions to await. Must be your own member id; another member's id is refused. | |
| timeout_ms | No | Wait window in milliseconds, from 1 to 300000 (default 30000). When it lapses the tool returns null. | |
| since_log_id | No | Your high-water log_id. The log is replayed for a matching event with a log_id greater than this before the wait goes live, so an event in the gap between two calls is caught. Omitted, only events after the call count. |