list_deployments
List Kubernetes deployments in a namespace with desired and available replica counts to verify rollout status and check if workloads meet the desired scale.
Instructions
List deployments in a namespace with desired vs available replica counts.
Usage Guidelines
Use this tool to verify rollout status and check whether workloads meet desired scale.
When replicas show 0 available, use
list_podsandget_cluster_eventsto locate the failure.
Behavioral Transparency
Read-only operation using AppsV1Api.
Returns name, desired replicas, and ready replica count.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_deployments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | Target Kubernetes namespace to list deployments from. Defaults to 'default'. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |