List Nacos namespaces
nacos_list_namespacesList Nacos namespaces (tenants) with optional filtering by namespace ID. Returns available namespaces across Nacos 1.x, 2.x, and 3.x.
Instructions
List the namespaces (tenants) available on the Nacos server, optionally filtered to a single namespace ID. Works across Nacos 1.x, 2.x and 3.x.
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": "nacos_list_namespaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespaceId | No | Namespace (tenant) ID. Omit to use the namespace configured for this server. The default namespace is "" on Nacos 1.x/2.x and "public" on Nacos 3.x; both are accepted. |