Get ConfigMaps
get_configmapsFetch ConfigMap summary rows: name, namespace, the data key names, their count and age (never the values). A list needs namespace or all_namespaces=true and carries total, returned, truncated and scope.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>"
},
"name": "get_configmaps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Specific ConfigMap name to fetch. | |
| namespace | No | Kubernetes namespace to list. A list needs either this or all_namespaces=true; a named read (name) needs neither. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| all_namespaces | No | Set true to list every namespace on the cluster deliberately. Omit it and pass namespace to list one namespace; a list with neither is refused (error_code scope_required). |