改订单 / 推节点
cockpit_update_orderUpdate selected order fields—such as production status, due date, or paid amount—while leaving other data unchanged. Use dry-run validation before saving changes.
Instructions
改一张订单的字段,最常用的是推进生产节点(status 0→8)。只传要改的字段,其余不动。
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": {
"no": "<no>"
},
"name": "cockpit_update_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| no | Yes | 订单号(必填) | |
| ws | No | 生产车间 | |
| cut | No | 已裁件数 | |
| due | No | 新交期 YYYY-MM-DD(复期用) | |
| paid | No | 已回款金额 | |
| dryRun | No | true 时只校验不落库 | |
| remark | No | 备注 | |
| status | No | 新节点:0未设置 1下单 2面辅料采购中 3裁剪中 4车间生产中 5尾部 6打包中 7已入仓 8已回款 | |
| urgent | No | 1=加急,0=取消加急 | |
| shipped | No | 已交货件数 |