appcrane_wait_deploy
Blocks until a deployment reaches a terminal state (live/failed/rolled_back) and returns final status. Use after deploy to avoid polling; configurable timeout up to 600s.
Instructions
Block until a deployment reaches a terminal state (live / failed / rolled_back), then return its final status. Use after appcrane_deploy instead of polling appcrane_get_logs in a loop. Returns immediately if the deployment is already terminal. Defaults to 180s timeout, hard-capped at 600s. On timeout, returns { status: "pending", timed_out: true } so the caller can decide whether to keep waiting.
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": {
"deployment_id": "<deployment_id>"
},
"name": "appcrane_wait_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_sec | No | How long to wait. Default 180s, max 600s. | |
| deployment_id | Yes | Deployment id from appcrane_deploy |