Read Work Order
get_work_orderRead one work order: its status, the output it makes and the materials it consumes with planned and completed quantities, its operations in order (status, assignee, machine, and whether transition_work_order_operation can start or finish each), its pick lists, and the status changes transition_work_order can make. A work order a manufacturing order generated is started, picked and completed with execute_manufacturing_step. Operator credentials only.
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": {
"workOrderId": "<workOrderId>"
},
"name": "get_work_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workOrderId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| type | No | ||
| items | No | ||
| stage | No | ||
| number | No | ||
| status | No | ||
| orderDate | No | ||
| pickLists | No | ||
| startedAt | No | ||
| operations | No | ||
| completedAt | No | ||
| description | No | ||
| customerName | No | ||
| warehouseName | No | ||
| assignedUserName | No | ||
| availableActions | No | ||
| plannedCompletionAt | No | ||
| productionRunNumber | No | ||
| manufacturingOrderId | No | ||
| dependsOnWorkOrderIds | No | ||
| manufacturingOrderNumber | No |