wait_for_event
Wait once for any of 1–10 webhook, email, human approval, scheduled job or SMS sources. Each source has kind, id, optional token and after cursor. Returns events with per-source cursors, or timedOut. Waits are capped at 30 seconds and share the same per-caller wait limit. Email events exclude sent mail. Expired/denied approval is never permission. Job sources use owned scheduled jobs. SMS sources need an active phone add-on; check /api/capabilities phones before creating a phone number. Existing SMS remains readable during provider outages. This server reports phones=false; scheduled job sources are enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes | ||
| timeoutSeconds | No |