get_charges
Retrieve charging session history for your Tesla vehicle. Filter by date range, Supercharger-only sessions, and minimum energy added to analyze charging behavior.
Instructions
Returns charging sessions for the vehicle
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_charges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End timestamp (Unix epoch seconds) | |
| 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 charges to return | |
| timezone | No | Timezone (e.g. America/Los_Angeles) | |
| distance_format | No | Distance format (overrides TESSIE_DISTANCE_FORMAT env var) | |
| superchargers_only | No | Only return Supercharger sessions | |
| minimum_energy_added | No | Minimum kWh added to include |