get_drives
Retrieve vehicle drive history with distance, energy, speed, and route details. Filter drives by date, tags, and minimum distance for targeted analysis.
Instructions
Returns a list of drives for the vehicle, with distance, energy, speed, and route details
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": "get_drives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End timestamp (Unix epoch seconds) | |
| tag | No | Filter by drive tag | |
| vin | No | Vehicle Identification Number (VIN). Defaults to TESSIE_DEFAULT_VIN env var if set. | |
| from | No | Start timestamp (Unix epoch seconds) | |
| limit | No | Maximum number of drives to return | |
| timezone | No | Timezone (e.g. America/Los_Angeles) | |
| exclude_tag | No | Exclude drives with this tag | |
| distance_format | No | Distance format (overrides TESSIE_DISTANCE_FORMAT env var) | |
| minimum_distance | No | Minimum drive distance to include | |
| temperature_format | No | Temperature format (overrides TESSIE_TEMP_FORMAT env var) |