nacos_list_config_history
Fetch paginated change history for a Nacos configuration using data_id, with optional group, namespace, and page controls.
Instructions
查询配置历史版本列表。
对应 Nacos OpenAPI:
v1:GET /nacos/v1/cs/history
v2:GET /nacos/v2/cs/history/list
v3:GET /v3/console/cs/history/list(Console API)
返回分页的历史版本列表(id、opType、操作人、时间等)。
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": {
"data_id": "<data_id>"
},
"name": "nacos_list_config_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_id | Yes | 配置 ID | |
| page_no | No | 页码,默认 1 | |
| page_size | No | 每页条数,默认 100 | |
| group_name | No | 配置分组,默认 DEFAULT_GROUP | DEFAULT_GROUP |
| namespace_id | No | 命名空间 ID,可选 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageItems | No | ||
| pageNumber | No | ||
| totalCount | No | ||
| pagesAvailable | No |