nacos_rollback_config
Roll back a Nacos configuration to a specific historical version using its snapshot ID, atomically replacing the published config without manual text handling.
Instructions
依据历史快照 ID (historyId) 原子化回滚配置至指定历史版本(自动提取历史快照全文覆盖发布,免去模型长文本搬运风险)
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>",
"historyId": "<historyId>"
},
"name": "nacos_rollback_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | 配置分组 (Group),默认 DEFAULT_GROUP | DEFAULT_GROUP |
| dataId | Yes | 目标配置集 ID (Data ID) | |
| historyId | Yes | 目标历史快照唯一标识符 (historyId / nid) | |
| namespaceId | No | 命名空间 Tenant ID,留空或 public 为公共空间 |