Wait until a project is live
wait_for_livePolls a project every 2 seconds until it reaches a live terminal state, returning the final Project on success or an error on build failure or cancellation.
Instructions
Block (polling every 2 s) until the project reaches a terminal state. Returns the final Project on success, an error result on build-failed or build-cancelled.
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": {
"ref": "<ref>"
},
"name": "wait_for_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Project id or subdomain | |
| timeoutMs | No | Max wait in ms. Defaults to 10 minutes. |