await_event
Waits for campaign-set events—requests, starts/ends, goal changes, crowd meter drops, or set end—returning new changes immediately or after a timeout; use between actions instead of polling.
Instructions
In a campaign set, wait until something happens and say what: a request coming, starting, ending within a few measures, passing or failing; a goal starting, done, or ending undone; the crowd meter coming on or falling below meter_below; the set ending; keep_alive stopping. Returns at once with anything since you last looked, else waits up to seconds, and gives get_set's view of the set with it. Call it between actions instead of polling get_set.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "await_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seconds | No | Default 20, at most 60 | |
| meter_below | No | Default 30 |