wait_for_event
Wait for the next event in an inbox after a cursor, up to 30s. Auth: Authorization Bearer read token header.
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": {
"inbox_id": "<inbox_id>"
},
"name": "wait_for_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only return the first event with an id greater than this cursor (0 for the first event). | |
| inbox_id | Yes | The inbox id returned when the inbox was created (private; the slug in the ingest URL is the public part). | |
| timeout_ms | No | How long to wait in milliseconds (max 30000). | |
| body_contains | No | Only return an event whose body contains this text. |