Wait for a deployment
wait_for_deploymentWatch a deployed job until it finishes or fails, returning its status, ready URLs, or logs. Poll repeatedly with a time limit to learn when the service is online or the error.
Instructions
Blocks up to max_seconds (default 60, max 120) watching a deployment. Returns outcome "online" (service answers; includes ready URLs), "completed" (job finished; includes logs), "failed" (with the scheduler error), or "pending" (call again). Safe to call repeatedly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_seconds | No | ||
| deployment_id | Yes |