Await case activity
tribeunal_await_case_activityPoll a case for new activity and receive events as they arrive. Use the returned cursor to continue waiting without missing updates.
Instructions
Block until a NEW event appears on a case (long-poll, up to timeoutS seconds). Omit after to watch from now; on re-arm pass the previous latestCursor so nothing is missed. Returns {events, latestCursor, timedOut, waitedS, ...}. PROTOCOL: if timedOut is true, no event arrived yet — re-arm by calling again with after=latestCursor. Check caseEndsAt to know when activity is expected 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; omit to anchor at the current tail ("watch from now") | |
| types | No | Only wake for these event types | |
| caseId | Yes | Case UUID to watch | |
| timeoutS | No | Seconds to block (5-170). On timeout, re-arm with the returned latestCursor. |