Fulfill order
fulfill_orderMark an order as fulfilled (delivered); order managers only. Fulfilling transfers reserved stock to the order's target. Three checks answer { requiresAcknowledgment: true, ... } and write nothing; the same call with the named acknowledgment performs it: requested lines that are short (an item line never picked, or a model or category line with fewer picked items than its quantity) come back as uncovered (acknowledgeIncomplete: true); picked items that are meanwhile lost/retired come back as unusableItems (acknowledgeUnusableItemIds takes their ids); picked items with open issues (status defect or in_repair, an open ticket, or an overdue maintenance check) come back as itemsWithIssues, each with its status, the first issue's title and the count (acknowledgeSafetyItemIds). Fails on already-closed orders. Irreversible: a closed order cannot be reopened.
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": {
"orderId": "<orderId>"
},
"name": "fulfill_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | Order id (from list_orders) | |
| acknowledgeIncomplete | No | true closes the order despite the uncovered lines a previous requiresAcknowledgment result named | |
| acknowledgeSafetyItemIds | No | The ids from a previous result's itemsWithIssues; the items are handed out despite their issues | |
| acknowledgeUnusableItemIds | No | The unusable item ids a previous requiresAcknowledgment result named; the order closes despite them |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | open | in_fulfillment | fulfilled | rejected | cancelled | |
| webUrl | No | Link to this order in the web app, for a person to open; `orderId` is the handle for tool calls. Absent when the deployment has no public address | |
| orderId | No | Order id | |
| closedAt | No | Close time, epoch milliseconds | |
| uncovered | No | Requested lines that are short: item lines never picked; model and category lines with `filled` of `required` picked | |
| targetName | No | Who/where the order delivers to | |
| closedAtIso | No | The same moment as an ISO-8601 UTC timestamp — read THIS one; the server does no timezone conversion | |
| instruction | No | Which acknowledge flag performs the call | |
| unusableItems | No | Picked items that are meanwhile lost or retired | |
| itemsWithIssues | No | Picked items with open issues: status defect or in_repair, an open ticket, or an overdue maintenance check | |
| requiresAcknowledgment | No | Present and true when nothing was written because of what this result names; the SAME call with the acknowledge flag named in `instruction` performs it |