get_wait
Read a thread's wait timer to check when it expires, what happens on timeout, and whether it has fired; returns null if no wait is set. Requires workspace:read.
Instructions
Read the wait timer on one thread: an object with wait_until, on_timeout (notify or park), an optional reason, created_by, created_at and fired_at, or null when no wait is set. fired_at is empty until the sweeper has escalated the wait after wait_until passed. This only reads the timer; to set or remove it use set_wait or cancel_wait, and to block until an event happens use a wait_for_* tool. 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": {
"thread_id": "<thread_id>"
},
"name": "get_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | UUID of the thread whose wait timer to read. A thread has at most one wait. The caller must be able to read the thread's channel. |