Discover managed clusters
discover_managed_clustersList the managed Kubernetes clusters that already run in the provider account behind a credential (the twin of ankra cluster managed discover), marking the ones Ankra has already imported: name, location, version, status, node count and node pools. Providers: doks, uks, gke, aks, eks, ovh_mks, kapsule, ankracloud_k8s. Use this before import_managed_cluster; list_managed_k8s_options is the catalogue for creating NEW clusters, not this. Read-only; talks to the provider API, so it can take a few seconds.
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": {
"provider": "<provider>",
"credential_id": "<credential_id>"
},
"name": "discover_managed_clusters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Managed Kubernetes provider. | |
| credential_id | Yes | UUID of the provider credential (from list_credentials). |