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.
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": {
"selectors": "<selectors>",
"condition": "<condition>"
},
"name": "wait"
}
}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. |