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.
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": {
"sources": "<sources>"
},
"name": "wait_for_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes | ||
| timeoutSeconds | No |