# Commands

These commands alter the vehicles state and return a boolean `result` to indicate success.

{% content-ref url="/pages/-LNi3K-B2jCZ1UfVWDCz" %}
[Wake](/vehicle/commands/wake.md)
{% endcontent-ref %}

Wakes up the car from a sleeping state.

{% content-ref url="/pages/-LNi3K-CyA43VpTjw-ku" %}
[Alerts](/vehicle/commands/alerts.md)
{% endcontent-ref %}

Controls for honking the horn and flashing the lights.

{% content-ref url="/pages/-LNi3K-KAcN\_LFF4-Wlf" %}
[Remote Start](/vehicle/commands/remotestart.md)
{% endcontent-ref %}

Start the car remotely.

{% content-ref url="/pages/-Lpzeu1CZ4LL4CcbBH0g" %}
[Homelink](/vehicle/commands/homelink.md)
{% endcontent-ref %}

Open or close the primary garage door via Homelink.

{% content-ref url="/pages/-LNi3K-M\_xvgpt8U-mFl" %}
[Speed Limit](/vehicle/commands/speedlimit.md)
{% endcontent-ref %}

Limit the maximum speed of the car.

{% content-ref url="/pages/-LNi3K-NQdMxr0N5rsXQ" %}
[Valet Mode](/vehicle/commands/valet.md)
{% endcontent-ref %}

Enable Valet Mode and reset the in-car PIN.

{% content-ref url="/pages/-LNi3K-DewMAxCrXyiur" %}
[Doors](/vehicle/commands/doors.md)
{% endcontent-ref %}

Lock and unlock the car.

{% content-ref url="/pages/-LNi3K-E3KbtJHeGuZeK" %}
[Frunk/Trunk](/vehicle/commands/trunk.md)
{% endcontent-ref %}

Open and close the trunk and frunk.

{% content-ref url="/pages/-Lpzeu1IU81w0VK4l2an" %}
[Windows](/vehicle/commands/windows.md)
{% endcontent-ref %}

Open and vent the windows.

{% content-ref url="/pages/-LNi3K-Fn7\_17j56Ra0t" %}
[Sunroof](/vehicle/commands/sunroof.md)
{% endcontent-ref %}

Open and close the panoramic sunroof.

{% content-ref url="/pages/-LNi3K-GNGoknTLF2fF2" %}
[Charging](/vehicle/commands/charging.md)
{% endcontent-ref %}

Control the charging of the car.

{% content-ref url="/pages/-LNi3K-HTn5NeZ0yRApS" %}
[Climate](/vehicle/commands/climate.md)
{% endcontent-ref %}

Adjust the temperature settings of the car.

{% content-ref url="/pages/-LNi3K-IGAm7ZftofdLi" %}
[Media](/vehicle/commands/media.md)
{% endcontent-ref %}

Control the media playing in the car.

{% content-ref url="/pages/-LpzkSD-oB-qr\_dvGun\_" %}
[Sharing](/vehicle/commands/sharing.md)
{% endcontent-ref %}

Share a location to navigate to or video to play in theatre mode.

{% content-ref url="/pages/-LNi3K-L2ifZRLJbDqI9" %}
[Software Updates](/vehicle/commands/softwareupdate.md)
{% endcontent-ref %}

Start an update of the car's software.

{% content-ref url="/pages/-LcXKOfoO2Fq3whzHzNO" %}
[Sentry Mode](/vehicle/commands/sentrymode.md)
{% endcontent-ref %}

Enable or disable Sentry Mode.

{% content-ref url="/pages/-LNi3K-OtEp0Y-Fe\_ZIM" %}
[Calendar](/vehicle/commands/calendar.md)
{% endcontent-ref %}

Synchronize a calendar with the car.

{% content-ref url="/pages/H8deG9X3Q9acnKP57cAD" %}
[Miscellaneous](/vehicle/commands/misc.md)
{% endcontent-ref %}

Miscellaneous features. (Changing vehicle name etc.)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tesla-api.timdorr.com/vehicle/commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
