Wait for a deployment to become ready
edgegap_wait_for_deploymentPolls a deployment until it is ready, fails, or times out, then returns connection details and container error details. Use it after deploying to avoid building a custom polling loop.
Instructions
Poll a deployment until it is ready, errors, or the timeout expires, then return the connection details. This is the tool to call right after edgegap_deploy. Do not build your own polling loop — this handles backoff and reports the container error detail if the server fails to start.
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": {
"request_id": "<request_id>"
},
"name": "edgegap_wait_for_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | The request_id returned by edgegap_deploy. | |
| timeout_seconds | No | How long to wait before giving up, 5-600. Default 180. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqdn | No | ||
| error | No | ||
| ports | No | ||
| ready | No | ||
| status | No | ||
| running | No | ||
| version | No | ||
| location | No | ||
| next_step | No | ||
| public_ip | No | ||
| request_id | No | ||
| application | No | ||
| error_detail | No | ||
| waited_seconds | No | ||
| elapsed_seconds | No |