nacos_get_config
Retrieve full Nacos configuration content with smart truncation and line-based slicing for precise reads.
Instructions
获取 Nacos 配置项全文内容,支持超长文本智能截断与按行切片精准读取
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 | 配置分组 (Group),默认 DEFAULT_GROUP | DEFAULT_GROUP |
| dataId | Yes | 配置集 ID (Data ID) | |
| endLine | No | 切片结束行号(闭区间,必须大于等于起始行) | |
| startLine | No | 切片起始行号(从 1 开始,用于大文本分块读取) | |
| namespaceId | No | 命名空间 Tenant ID,留空或 public 为公共空间 |