Wait for event
wait_for_eventPoll an asynchronous VPSnet action every 3 seconds until it completes, errors, or a timeout passes. Returns the last state and waited seconds, so you can track progress without repeated manual checks.
Instructions
Poll an asynchronous action until it is completed or error, or until timeout_seconds pass (default 120, max 600), every 3 seconds. Same ids as get_event. Returns the last state and waited_seconds; timed_out=true means the action is still running, not that it failed. Read-only.
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": {
"id": "<id>"
},
"name": "wait_for_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric `event` id or `noty` UUID returned by the action | |
| timeout_seconds | No | How long to wait (default 120) |