samsara_get_vehicle_locations
Retrieve real-time or recent locations for fleet vehicles using an efficient feed API. Optionally filter by vehicle IDs or a timestamp to track specific positions.
Instructions
Get real-time or recent locations for vehicles. Uses the feed API pattern for efficient streaming of location data.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "samsara_get_vehicle_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Timestamp (ISO 8601) to get locations after this time. Leave empty for most recent. | |
| vehicleIds | No | Optional array of specific vehicle IDs. If omitted, returns locations for all vehicles. |