prime_update_work_order
Updates a work order’s status, notes, description, or assignment; requires the current version to prevent conflicting edits through optimistic locking.
Instructions
Update a work order. Requires version for optimistic locking.
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": {
"work_order_id": "<work_order_id>",
"version": "<version>"
},
"name": "prime_update_work_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Internal notes | |
| status | No | Work order status | |
| version | Yes | Current version for optimistic locking | |
| description | No | Work order description | |
| work_order_id | Yes | The work order ID to update | |
| assigned_contact_id | No | Assigned contact ID |