samsara_create_route
Plan and schedule multi-stop delivery or service routes by defining stop order, addresses, times, and optional driver and vehicle assignments. Integrates with your TMS via external IDs.
Instructions
Create a new route with stops. IMPORTANT: Each stop needs address (with lat/long or formatted address), optional arrival/departure times, and names. Use externalIds to link with your TMS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for this route (e.g., 'Morning Deliveries Zone 3') | |
| stops | Yes | Array of stops in order. Each stop must have an address with coordinates or formattedAddress. | |
| driverId | No | Optional: ID of driver assigned to this route | |
| startTime | No | Route start time (ISO 8601) | |
| vehicleId | No | Optional: ID of vehicle assigned to this route | |
| externalIds | No | Key-value pairs for TMS integration (e.g., {tmsOrderId: '12345'}) |