Resolve Labor Issue
resolve_labor_issueResolve an open issue a worker reported, as the labor planner screen's resolve button does: the issue closes with the resolution text (1–1000 characters), which the worker sees on their my-work page. Find open issues with list_labor_issues. Admin; operator credentials only. 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": {
"issueId": "<issueId>",
"resolution": "<resolution>"
},
"name": "resolve_labor_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | The issue id (GUID), from list_labor_issues. | |
| 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. | |
| resolution | Yes | How it was resolved, 1–1000 characters. | |
| 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 |