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.
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": {
"routeId": "<routeId>"
},
"name": "samsara_update_route"
}
}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 |