Report Labor Issue
report_labor_issueReport something stopping the signed-in worker on a run they are committed to or working now, as the report-issue button on their my-work page does; planners see it in list_labor_issues. reason is materials, equipment, quality, instructions or other; note describes it (1–1000 characters). Name the run by operationId, or by workOrder and operationCode. One open issue per worker per run. In-app only (User role; the account must be linked to a worker). Preview first; the in-app assistant gets a confirm card.
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": {
"reason": "<reason>",
"note": "<note>"
},
"name": "report_labor_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | What is wrong, 1–1000 characters. | |
| reason | Yes | materials, equipment, quality, instructions or other. | |
| preview | No | Step 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call. | |
| workOrder | No | The run's work order number, with operationCode. | |
| operationId | No | The run's operation id (GUID). | |
| operationCode | No | The run's operation code, with workOrder. | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt to commit. | |
| previewReceipt | No | Step 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| issue | No | ||
| preview | No | ||
| request | No | ||
| committed | No | ||
| expiresAt | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No |