Read Production Run
get_production_runRead one production run by productionRunId or by its number: when and by whom it started, and each of its work orders with its status, manufacturing order, and the output it makes with planned and completed quantities. Read a work order's materials and operations with get_work_order. Operator credentials only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_production_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | The run number, when the id is not known. | |
| productionRunId | No | Production run id (GUID), from list_production_runs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| number | No | ||
| startedAt | No | ||
| workOrders | No | ||
| startedByName | No | ||
| workOrderCount | No | ||
| productionRunId | No | ||
| openWorkOrderCount | No | ||
| completedWorkOrderCount | No |