wait
Pauses execution until selected services reach a specified condition (ready, running, stopped, healthy, or unhealthy), with optional timeout and cancellation.
Instructions
Wait cancellably for ready, running, stopped, healthy, or unhealthy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runtime | No | Project runtime to address, by name or id from runtimes. Omit to use the project this MCP server was started in. | |
| timeout | No | Duration such as 60s. | |
| condition | Yes | ||
| selectors | Yes | Exact service names or case-insensitive tags. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Tool-specific payload; absent on failure. | |
| error | No | Causal failure, absent on success. | |
| session | No | The runtime that served this call; absent for global tools and for failures that resolved no runtime. | |
| generation | No | Configuration generation the answer was read at; absent when no runtime served the call. | |
| schema_version | Yes | Envelope contract version. |