Wait for an event
wait_for_eventLong-poll (up to 55 s) for events such as application.created, approval_request.decided, contract.work_submitted, message.created. Returns immediately with anything new after after.
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": "wait_for_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Last event id you have seen | |
| types | No | ||
| timeout_s | No |