samsara_update_route
Update a route's name, vehicle, driver, status, or stops while automatically preserving stop IDs to maintain accurate arrival and departure tracking.
Instructions
Update a route. CRITICAL BEST PRACTICE: This tool automatically preserves stop IDs to maintain arrival/departure time tracking. You can update name, vehicle, driver, status, or modify stops. When updating stops, the tool fetches existing stop IDs and preserves them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New route name | |
| stops | No | Updated stops array. Stop IDs will be automatically preserved if not provided. | |
| status | No | Update route status | |
| routeId | Yes | ID of route to update | |
| driverId | No | New driver assignment | |
| vehicleId | No | New vehicle assignment |