List networkpolicies
k8s_list_networkpoliciesLists Kubernetes NetworkPolicies in a namespace, optionally using a specified context, so you can inspect network policy configuration.
Instructions
List NetworkPolicies in a namespace.
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": "k8s_list_networkpolicies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| namespace | No |