list_namespaces
List all namespaces (projects) in an OpenShift cluster to discover available resource scopes for targeting workloads.
Instructions
List all namespaces (projects) in the cluster.
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_namespaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_alias | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |