list_pods
Lists pods in a Rancher project with optional namespace filtering; use only_unhealthy to show only pods in error states or with excessive restarts.
Instructions
List pods of a project. Set only_unhealthy=True to see only pods in CrashLoopBackOff/Error/Pending states or with more than 3 restarts.
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": {
"project_id": "<project_id>"
},
"name": "list_pods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | ||
| project_id | Yes | ||
| only_unhealthy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |