Start or Finish Operation
transition_work_order_operationStart or finish one work order operation, as the work-order screen's start and finish buttons do. Find operations and the moves each allows with get_work_order. start: a pending operation; on the standard screen it goes into preparation worked by assignedUserId (in-app, the confirming user by default) and the work order must be started; on an account with parallel operation execution it goes straight into progress, optionally on machineId (refused while that machine runs another operation). finish: an operation in preparation or progress (parallel: in progress); the next operation becomes pending, and finishing the last one leaves the work order waiting for completion. Completing the work order itself, which consumes materials and receives the output, stays a separate step. Preview first. Requires Write + manufacturing.execute on an unpinned operator credential. In-app assistants get a confirm card the user applies.
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": {
"operationId": "<operationId>",
"action": "<action>"
},
"name": "transition_work_order_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | start or finish. | |
| 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. | |
| machineId | No | start only, parallel operation execution only: the machine (GUID, from list_machines) to run it on; defaults to the operation's machine. | |
| operationId | Yes | Work order operation id (GUID), from get_work_order's operations. | |
| assignedUserId | No | start only: the member (user id GUID) who works the operation. Required for connector credentials on the standard screen; defaults to the current assignee. | |
| 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 | ||
| preview | No | ||
| expiresAt | No | ||
| transition | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No |