get_history_data
Query historical time-series data for device attribute points by specifying devices, tags, and a time range.
Instructions
查询设备属性点的历史时序数据
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": {
"deviceTagPairs": "<deviceTagPairs>",
"startTime": "<startTime>",
"endTime": "<endTime>"
},
"name": "get_history_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceTagPairs | Yes | 设备和属性点对数组 | |
| startTime | Yes | 开始时间戳(毫秒) | |
| endTime | Yes | 结束时间戳(毫秒) | |
| limit | No | 返回数量限制 |