wait_for
Block until an event matching the filters arrives, or time out. Use this after triggering an action instead of sleeping and polling.
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": {
"contains": "<contains>"
},
"name": "wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Optional minimum level, e.g. ERROR | |
| topic | No | Optional topic or prefix | |
| contains | Yes | Text the event must contain (case-insensitive) | |
| timeout_ms | No | How long to wait (default 30000, max 60000) |