Assign Best Technician
assign_best_technicianSelect the most suitable technician for a work order by filtering candidates by territory and required skills, then assigning the least-loaded match.
Instructions
Pick the most suitable technician for a Work Order and assign them. Technicians are filtered by territory and (optionally) required skills, then the least-loaded match is selected. Returns the chosen technician and the updated work order.
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>"
},
"name": "assign_best_technician"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| territory_id | No | Restrict candidates to this territory ID. | |
| work_order_id | Yes | Work Order to staff. | |
| required_skills | No | Skill names a candidate must have (matched against the Skills field). |