nacos_get_config
Read a single Nacos configuration by dataId to inspect YAML or properties content; optionally target a specific group or namespace.
Instructions
获取 Nacos 中单个配置的内容。用于查看指定 dataId 的 yaml/properties 配置。
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 | 配置分组,默认使用环境变量 NACOS_GROUP | |
| dataId | Yes | 配置的 dataId,如 re-gateway.yaml、re-product.yaml | |
| namespace | No | 命名空间 ID,默认使用环境变量 NACOS_NAMESPACE |