aps-agent/providers/ems/capabilities/ems-energy-query.capability...

40 lines
814 B
JSON

{
"id": "ems.energy.query",
"providerId": "ems",
"title": "查询能耗",
"purpose": "查询某个时段的能耗与电费",
"whenNotToUse": "设备状态不属于本能力",
"effect": "read",
"mode": "sync",
"idempotency": "none",
"inputSchema": {
"properties": {
"horizon_days": {
"type": "integer"
},
"project": {
"type": "string"
}
},
"type": "object"
},
"outputSchema": {
"type": "object"
},
"synonyms": [
"电费",
"能耗",
"用电",
"耗电"
],
"errors": [
"invalid_argument",
"unavailable",
"unknown_result"
],
"example": {
"utterance": "本周电费多少",
"expects": "ems.energy.query"
},
"note": "A2.6 草案:能力清单在 A5/B5 与 APS 确认真实接口后定稿"
}