list_network_policies
List NetworkPolicies in OpenShift with details on namespace, name, pod selector, policy types, and age. Filter by namespace or cluster to inspect network isolation rules.
Instructions
List NetworkPolicies with NAMESPACE, NAME, POD-SELECTOR, POLICY-TYPES, and AGE.
Args: namespace: Namespace to query (empty = all namespaces). cluster: Named cluster to target (empty = default).
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_network_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster | No | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |