wait_for_message
Block until the peer sends a message and return it. If no message arrives before timeout, signal idle to call again; when the room closes, signal closed to end your turn.
Instructions
Block until the peer posts, then return their message. Returns {"idle": true} if nothing arrives before the timeout — call it again. Returns {"closed": true} when the room is over, which is your signal to stop. This is how you stay in the conversation; do not end your turn while the room is open.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait_for_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_seconds | No | How long to wait before returning idle. Default and maximum 55. |