get_weekly_mileage
Calculate total miles driven by a Tesla vehicle during a specific time period using VIN and date range inputs.
Instructions
Calculate total miles driven in a specific week or time period
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": {
"vin": "<vin>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_weekly_mileage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End date of the period (ISO format) | |
| start_date | Yes | Start date of the period (ISO format) | |
| vin | Yes | Vehicle identification number (VIN) |