aps-agent/providers/aps/capabilities/aps-order-insert.capability...

42 lines
861 B
JSON

{
"id": "aps.order.insert",
"providerId": "aps",
"title": "新增订单",
"purpose": "向项目中新增一条订单",
"whenNotToUse": "只查询用 aps.order.query",
"effect": "write",
"mode": "sync",
"idempotency": "key",
"inputSchema": {
"properties": {
"horizon_days": {
"type": "integer"
},
"project": {
"type": "string"
}
},
"type": "object"
},
"outputSchema": {
"type": "object"
},
"synonyms": [
"加订单",
"新增订单",
"插单",
"下单",
"加进来"
],
"errors": [
"invalid_argument",
"conflict",
"unavailable",
"unknown_result"
],
"example": {
"utterance": "把订单 SO-2024-118 加进来",
"expects": "aps.order.insert"
},
"note": "A2.6 草案:能力清单在 A5/B5 与 APS 确认真实接口后定稿"
}