get_device_metrics
Retrieve current device metrics with name, value, and unit. Each call advances the sampling period, providing updated real-time data for digital twin monitoring.
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": {
"device_id": "<device_id>"
},
"name": "get_device_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||