analyze_network_policy
Identify which Kubernetes NetworkPolicies apply to a specified pod and detect traffic restrictions affecting its network traffic.
Instructions
Analyze which NetworkPolicies apply to a pod and detect traffic restrictions
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": {
"pod_name": "<pod_name>"
},
"name": "analyze_network_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod_name | Yes | Pod name to analyze | |
| namespace | No | Namespace (default: "default") |