aps-agent/providers/aps/capabilities/aps-forecast-query.capabili...

54 lines
1.2 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "aps.forecast.query",
"providerId": "aps",
"title": "预测查询",
"purpose": "查需求预测订单与时间分布",
"whenNotToUse": "实单在 aps.orders.query",
"effect": "read",
"mode": "sync",
"idempotency": "none",
"inputSchema": {
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "项目 id,缺省用当前项目"
},
"code": {
"type": "string",
"description": "物料号 / 订单号等业务编码"
},
"limit": {
"type": "integer",
"description": "返回条数上限,默认 20–50"
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"items": {
"type": "array"
},
"total": {
"type": "integer"
}
}
},
"synonyms": [
"预测",
"预测量",
"需求预测"
],
"errors": [
"invalid_argument",
"unavailable",
"unknown_result"
],
"example": {
"utterance": "下个月的需求预测有多少",
"expects": "aps.forecast.query"
},
"note": "由 APS 的 /api/manifest 生成(A5.1);权威来源是 APS 服务本身,这里是人审阅副本"
}