Await case activity
tribeunal_await_case_activityBlock until a new event appears on a case; returns event data and a cursor to re-arm on timeout for continuous monitoring.
Instructions
Block until a NEW event appears on a case (long-poll, up to timeoutS seconds) — for a one-shot read use tribeunal_get_case_activity; for the final decision use tribeunal_await_verdict. Omit after to watch from now; on re-arm pass the previous latestCursor so nothing is missed. Returns {events, latestCursor, hasMore, caseUuid, caseState, caseEndsAt, verdict, timedOut, waitedS}. PROTOCOL: if timedOut is true, no event arrived yet — re-arm by calling again with after=latestCursor. Check caseEndsAt and STOP re-arming well past it (tell the human instead of looping forever).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor to watch from (a previous latestCursor); omit to anchor at the current tail ("watch from now"). | |
| types | No | Only wake for these event types — same enum as tribeunal_get_case_activity. | |
| caseId | Yes | Case UUID to watch. | |
| timeoutS | No | Seconds to block, 5-170; defaults to 120. On timeout, re-arm with the returned latestCursor. |