Get Nacos config detail
nacos_get_configRetrieve the full content and metadata of a single Nacos configuration by specifying dataId, group, and namespace. Quickly inspect exact config details across Nacos 1.x, 2.x, and 3.x.
Instructions
Read the full content and metadata of a single configuration entry identified by dataId + group + namespace. Compatible with Nacos 1.x, 2.x and 3.x; on Nacos 1.x the raw text body is returned.
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": {
"dataId": "<dataId>"
},
"name": "nacos_get_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Configuration group, e.g. DEFAULT_GROUP. | |
| dataId | Yes | Configuration data ID, e.g. application.yaml. | |
| 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. |