inbox_wait
Waits until a new unread message arrives for the current session, with optional sender or thread filters, and returns on arrival or timeout.
Instructions
Wait until a new unread message arrives for this session (polls SQLite every 200ms up to timeout_seconds). For idle-session auto-wakeup without blocking a turn, run x-harness watch --name <handle> as a background shell task instead.
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": "inbox_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Optional sender handle to wait on. | |
| thread_id | No | Optional thread ID to wait on. | |
| timeout_seconds | No | Max seconds to wait (default 30, max 110). |