Wait for cooperation notifications
cooperation_waitWait asynchronously for private cooperation notifications or a bounded timeout, then return durable events and a cursor to resume after reconnecting.
Instructions
Complete an active call when private events arrive or the bounded wait expires.
Waiting is asynchronous, cancellable, non-consuming and does not renew claims or heartbeats. Resume from the durable cursor after reconnect. It never starts or wakes an idle host model; that requires the host's authorized adapter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Closed agents-core/cooperation/1 private notification wait or raw JSON. Required protocol, repository_id, participant_id, capability. Optional subject_id (direct parent relay only), after_cursor (notification cursor, default 0), limit (1..50, default 20), timeout_seconds (integer 0..30, default 20; zero polls). Returns durable message_received/message_acknowledged/request_updated events without bodies or capabilities, next_cursor, has_more, timed_out and service_epoch. Persist next_cursor; it is distinct from inbox/public cursors. Maximum 32768 UTF-8 bytes; no unknown fields or duplicate keys. | |
| workspace | No | Absolute path of your working directory, the project this session works in. Pass it whenever you have one: one server can serve several sessions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||