Get Labor Operation
get_labor_operationOne operation's labor, as the planner's detail panel shows it: the draft plan and its version, the committed allocation and its commit/release history, time recorded against it by worker, work sessions running now, and issues workers reported. Name the operation by operationId (from list_labor_operations) or by workOrder number plus operationCode. Admin; 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_labor_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workOrder | No | The work order number, with operationCode, instead of operationId. | |
| operationId | No | The work order operation id (GUID). | |
| operationCode | No | The operation code on that work order, e.g. OP-10. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issues | No | ||
| actuals | No | ||
| operation | No | ||
| activeSessions | No | ||
| actualLaborHours | No | ||
| allocationHistory | No |