wait
Monitor Kubernetes resources until specific conditions are met, such as pods becoming ready or deployments becoming available, with configurable timeout options.
Instructions
Wait for a condition on a resource
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": {
"resource": "<resource>",
"name": "<name>",
"condition": "<condition>"
},
"name": "wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | The resource type (pod, deployment, etc.) | |
| name | Yes | The name of the resource | |
| condition | Yes | The condition to wait for (ready, available, etc.) | |
| namespace | No | The namespace of the resource (optional, defaults to current context namespace) | |
| timeout | No | Timeout duration (default: 300s) |