list_namespaces
Lists all namespaces in the connected Kubernetes cluster, returning an alphabetically sorted list with total count.
Instructions
List all namespaces present in the connected Kubernetes cluster.
Usage Guidelines
Call this tool first when discovering available cluster domains or when the user does not supply an explicit namespace.
Do not use this tool to inspect workload health; use
list_podsinstead.
Behavioral Transparency
Read-only operation.
Scans cluster-wide namespace resources using CoreV1Api.
Returns an alphabetically sorted list of namespace names with total count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |