update_work_order
Update a work order by modifying specific fields like title, description, status, priority, or linked tenant/unit. Setting status to completed automatically records the resolved time.
Instructions
Update an existing work order. Only supplied fields are changed. Setting status to "completed" automatically records the resolved time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Work order UUID | |
| title | No | Updated title | |
| description | No | Updated description | |
| status | No | Work order status | |
| priority | No | Priority: 0 = Emergency, 1 = High, 2 = Medium, 3 = Low | |
| tenantId | No | Updated tenant UUID (null to unlink) | |
| unitId | No | Updated unit UUID (null to unlink) | |
| availability | No | Updated availability window |