list_pods_in_namespace
Retrieve detailed pod information including status, IP addresses, and node placement within a specified Kubernetes namespace for monitoring and troubleshooting.
Instructions
List all pods in a Kubernetes namespace with status and placement info.
Args:
namespace: Kubernetes namespace to query.
Returns:
List[Dict]: Pods with keys: name, status, ip, node_name, creation_timestamp,
restart_count, container_states (list of waiting/terminated reasons).
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": {
"namespace": "<namespace>"
},
"name": "list_pods_in_namespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |