Actions46
- Get Vehicle Data
- Wake Up
- Flash Lights
- Honk Horn
- Lock Doors
- Unlock Doors
- Remote Start
- Actuate Trunk
- Start HVAC
- Stop HVAC
- Set Temperatures
- Set Seat Heater
- Set Steering Wheel Heater
- Start Charging
- Stop Charging
- Open Charge Port
- Close Charge Port
- Set Charge Limit
- Set Charging Amps
- Set Sentry Mode
- Trigger Homelink
- Navigation Request
- Set Seat Cooler
- Set Auto Seat Climate
- Set Auto Steering Wheel Heat
- Set Steering Wheel Heat Level
- Set Cabin Overheat Protection
- Set Cabin Overheat Protection Temperature
- Set Climate Keeper Mode
- Set Bioweapon Defense Mode
- Set Preconditioning Max
- Control Windows
- Control Sunroof
- Control Tonneau
- Set Scheduled Charging
- Set Scheduled Departure
- Add Charge Schedule
- Remove Charge Schedule
- Add Precondition Schedule
- Remove Precondition Schedule
- Charge on Solar
- Charge to Standard
- Charge to Max Range
- Schedule Software Update
- Cancel Software Update
- Set Volume
Control Windows
AI-generatedSummary
Send a window command to the selected Tesla vehicle to vent or close its windows. The vehicle must be parked; closing requires the user's latitude and longitude to verify they are within range, except on Model 3 platform vehicles.
Inputs
- VIN (required) — Select the vehicle to control.
- Window Command (required) — Choose Vent or Close; defaults to Vent.
- Latitude — User's latitude, used when closing windows to verify proximity to the vehicle.
- Longitude — User's longitude, used when closing windows to verify proximity to the vehicle.
Output shape
A single item containing the window control command result from Teslemetry.
The command controls a parked vehicle. For closing, provide latitude and longitude unless the vehicle is on the Model 3 platform.