list_services
List OpenShift services with details including namespace, name, type, cluster IP, external IP, ports, and age. Filter by namespace or label selector.
Instructions
List Services with NAMESPACE, NAME, TYPE, CLUSTER-IP, EXTERNAL-IP, PORT(S), and AGE.
Args: namespace: Namespace to query (empty = all namespaces). label_selector: Label selector to filter Services. 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_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster | No | ||
| namespace | No | ||
| label_selector | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |