Charging sessions
get_charging_sessionsCharging sessions inferred from the saved log (battery % rises between snapshots).
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_charging_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO date/time end (default now) | |
| vin | No | Vehicle VIN (full, or its last 4-6 characters). Required when the account has more than one car (call list_vehicles first and ask the user which car). Optional with one car. Every car on the owner's Tesla account is covered by the plan. | |
| from | No | ISO date/time start (default 30 days ago) |