wait_for_blocked_resolved
Waits until a thread's explicit dispatch block is cleared, then returns the BlockedResolved event with reason and resolver, or null if the timeout lapses.
Instructions
Block until an explicit dispatch block on a thread is cleared (clear_thread_block emits blocked_resolved) and return the BlockedResolved event (the reason that cleared, resolved_by), or null when the timeout lapses. It answers only a cleared block, not a dependency finishing (wait_for_ready) or a lapsed claim (wait_for_claim_expired); get_thread_block reads the current block. Scoped to thread_id and/or channel_id when given, else any thread you may read in the workspace; clearing a thread that was not blocked emits nothing. since_log_id replays a clear recorded in the gap before this call subscribes. To put a deadline on a thread instead, use set_wait. Requires workspace:read.
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_blocked_resolved"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | No | UUID of a thread; wait for this thread's block to clear. | |
| channel_id | No | UUID of a channel; only blocks cleared on its threads count. Omitted, any thread you may read in the workspace. | |
| 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. |