Tesla Query History
tesla_query_historyQuery battery level, range, odometer, or temperature time series from the local snapshot history over a date range, bucketed by hour, day, or week, without waking the car.
Instructions
Time series from the local snapshot database. Does not call Tesla or wake the car.
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": {
"metric": "<metric>",
"start": "<start>",
"end": "<end>"
},
"name": "tesla_query_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End date (YYYY-MM-DD), inclusive, in TESLA_TIMEZONE. | |
| vin | No | Vehicle name or masked VIN. Omit when there is one car. | |
| start | Yes | Start date (YYYY-MM-DD), inclusive, in TESLA_TIMEZONE. | |
| bucket | No | hour, day, or week. | day |
| metric | Yes | battery_level, battery_range, odometer, inside_temp, or outside_temp. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||