批量导入下单表
cockpit_import_ordersBatch-imports orders from customer Excel, image, or WeChat order tables, returning per-item created, existing, or failed results so one failed order does not block the rest.
Instructions
客户发来一张下单表(Excel/图片/微信消息),你把它整理成订单数组,一次全录进去。返回逐条结果:新建 / 已存在 / 失败原因。任一单据失败不影响其它单。
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": {
"orders": "<orders>"
},
"name": "cockpit_import_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | true 时只校验不落库(建议先跑一遍看看) | |
| orders | Yes | 订单数组,每项字段同 cockpit_create_order |