Tesla · Capability

Tesla API — Vehicle Commands

Tesla API — Vehicle Commands. 45 operations. Lead operation: Tesla Open Trunk/Frunk. Self-contained Naftiko capability covering one Tesla business surface.

Run with Naftiko TeslaVehicle Commands

What You Can Do

POST
Opentrunk — Tesla Open Trunk/Frunk
/v1/api/1/vehicles/{vehicle-id}/command/actuate-trunk
POST
Starthvac — Tesla Start HVAC System
/v1/api/1/vehicles/{vehicle-id}/command/auto-conditioning-start
POST
Stophvac — Tesla Stop HVAC System
/v1/api/1/vehicles/{vehicle-id}/command/auto-conditioning-stop
POST
Cancelsoftwareupdate — Tesla Cancel Software Update
/v1/api/1/vehicles/{vehicle-id}/command/cancel-software-update
POST
Setmaxchargelimit — Tesla Set Charge Limit to Max Range
/v1/api/1/vehicles/{vehicle-id}/command/charge-max-range
POST
Closechargeport — Tesla Close Charge Port
/v1/api/1/vehicles/{vehicle-id}/command/charge-port-door-close
POST
Openchargeport — Tesla Open Charge Port
/v1/api/1/vehicles/{vehicle-id}/command/charge-port-door-open
POST
Sendstandardchargelimit — Tesla Set Charge Limit to Standard
/v1/api/1/vehicles/{vehicle-id}/command/charge-standard
POST
Startcharge — Tesla Start Charging
/v1/api/1/vehicles/{vehicle-id}/command/charge-start
POST
Stopcharge — Tesla Stop Charging
/v1/api/1/vehicles/{vehicle-id}/command/charge-stop
POST
Lockdoors — Tesla Lock Doors
/v1/api/1/vehicles/{vehicle-id}/command/door-lock
POST
Unlockdoors — Tesla Unlock Doors
/v1/api/1/vehicles/{vehicle-id}/command/door-unlock
POST
Flashlights — Tesla Flash Lights
/v1/api/1/vehicles/{vehicle-id}/command/flash-lights
POST
Honkhorn — Tesla Honk Horn
/v1/api/1/vehicles/{vehicle-id}/command/honk-horn
POST
Navigationrequest — Tesla Send Navigation Request
/v1/api/1/vehicles/{vehicle-id}/command/navigation-request
POST
Remoteautoseatclimaterequest — Tesla Toggle Automatic Seat Heater/Cooler
/v1/api/1/vehicles/{vehicle-id}/command/remote-auto-seat-climate-request
POST
Remoteboombox — Tesla Remote Boombox
/v1/api/1/vehicles/{vehicle-id}/command/remote-boombox
POST
Remoteseatcoolerrequest — Tesla Set Seat Cooler Level
/v1/api/1/vehicles/{vehicle-id}/command/remote-seat-cooler-request
POST
Remoteseatheaterrequest — Tesla Set Seat Heater Level
/v1/api/1/vehicles/{vehicle-id}/command/remote-seat-heater-request
POST
Remotestart — Tesla Remote Start
/v1/api/1/vehicles/{vehicle-id}/command/remote-start-drive
POST
Remotesteeringwheelheaterrequest — Tesla Toggle Steering Wheel Heater
/v1/api/1/vehicles/{vehicle-id}/command/remote-steering-wheel-heater-request
POST
Resetvaletpin — Tesla Reset Valet PIN
/v1/api/1/vehicles/{vehicle-id}/command/reset-valet-pin
POST
Startsoftwareupdate — Tesla Start Software Update
/v1/api/1/vehicles/{vehicle-id}/command/schedule-software-update
POST
Bioweapondefense — Tesla Toggle Bioweapon Defense Mode
/v1/api/1/vehicles/{vehicle-id}/command/set-bioweapon-mode
POST
Cabinoverheatprotection — Tesla Enable or Disable Cabin Overheat Protection
/v1/api/1/vehicles/{vehicle-id}/command/set-cabin-overheat-protection
POST
Setchargelimit — Tesla Set Charge Limit
/v1/api/1/vehicles/{vehicle-id}/command/set-charge-limit
POST
Setchargingamps — Tesla Set Charge Current
/v1/api/1/vehicles/{vehicle-id}/command/set-charging-amps
POST
Climatekeeper — Tesla Set the Climate Keeper mode
/v1/api/1/vehicles/{vehicle-id}/command/set-climate-keeper-mode
POST
Setmaxdefrost — Tesla Set Max Defrost
/v1/api/1/vehicles/{vehicle-id}/command/set-preconditioning-max
POST
Setscheduledcharging — Tesla Set Scheduled Charging
/v1/api/1/vehicles/{vehicle-id}/command/set-scheduled-charging
POST
Setscheduleddeparture — Tesla Set Scheduled Departure
/v1/api/1/vehicles/{vehicle-id}/command/set-scheduled-departure
POST
Setsentrymode — Tesla Toggle Sentry Mode
/v1/api/1/vehicles/{vehicle-id}/command/set-sentry-mode
POST
Settemperatures — Tesla Set Temperature
/v1/api/1/vehicles/{vehicle-id}/command/set-temps
POST
Togglevaletmode — Tesla Set Valet Mode
/v1/api/1/vehicles/{vehicle-id}/command/set-valet-mode
POST
Setvehiclename — Tesla Set Vehicle Name
/v1/api/1/vehicles/{vehicle-id}/command/set-vehicle-name
POST
Sharetovehicle — Tesla Share data to Vehicle
/v1/api/1/vehicles/{vehicle-id}/command/share
POST
Activatespeedlimit — Tesla Activate Speed Limit
/v1/api/1/vehicles/{vehicle-id}/command/speed-limit-activate
POST
Clearspeedlimitpin — Tesla Clear Speed Limit Pin
/v1/api/1/vehicles/{vehicle-id}/command/speed-limit-clear-pin
POST
Deactivatespeedlimit — Tesla Deactivate Speed Limit
/v1/api/1/vehicles/{vehicle-id}/command/speed-limit-deactivate
POST
Setspeedlimit — Tesla Set Speed Limit
/v1/api/1/vehicles/{vehicle-id}/command/speed-limit-set-limit
POST
Opensunroof — Tesla Move Pano Roof
/v1/api/1/vehicles/{vehicle-id}/command/sun-roof-control
POST
Triggerhomelink — Tesla Trigger Homelink
/v1/api/1/vehicles/{vehicle-id}/command/trigger-homelink
POST
Wakeupvehiclecommand — Tesla Wake Up Car
/v1/api/1/vehicles/{vehicle-id}/command/wake-up
POST
Windowcontrol — Tesla Window Control
/v1/api/1/vehicles/{vehicle-id}/command/window-control
POST
Wakeupvehicle — Tesla Wake Up Car
/v1/api/1/vehicles/{vehicle-id}/wake-up

MCP Tools

tesla-open-trunk-frunk

Tesla Open Trunk/Frunk

tesla-start-hvac-system

Tesla Start HVAC System

tesla-stop-hvac-system

Tesla Stop HVAC System

tesla-cancel-software-update

Tesla Cancel Software Update

tesla-set-charge-limit-max

Tesla Set Charge Limit to Max Range

tesla-close-charge-port

Tesla Close Charge Port

tesla-open-charge-port

Tesla Open Charge Port

tesla-set-charge-limit-standard

Tesla Set Charge Limit to Standard

tesla-start-charging

Tesla Start Charging

tesla-stop-charging

Tesla Stop Charging

tesla-lock-doors

Tesla Lock Doors

tesla-unlock-doors

Tesla Unlock Doors

tesla-flash-lights

Tesla Flash Lights

tesla-honk-horn

Tesla Honk Horn

tesla-send-navigation-request

Tesla Send Navigation Request

tesla-toggle-automatic-seat-heater

Tesla Toggle Automatic Seat Heater/Cooler

tesla-remote-boombox

Tesla Remote Boombox

tesla-set-seat-cooler-level

Tesla Set Seat Cooler Level

tesla-set-seat-heater-level

Tesla Set Seat Heater Level

tesla-remote-start

Tesla Remote Start

tesla-toggle-steering-wheel-heater

Tesla Toggle Steering Wheel Heater

tesla-reset-valet-pin

Tesla Reset Valet PIN

tesla-start-software-update

Tesla Start Software Update

tesla-toggle-bioweapon-defense-mode

Tesla Toggle Bioweapon Defense Mode

tesla-enable-disable-cabin-overheat

Tesla Enable or Disable Cabin Overheat Protection

tesla-set-charge-limit

Tesla Set Charge Limit

tesla-set-charge-current

Tesla Set Charge Current

tesla-set-climate-keeper-mode

Tesla Set the Climate Keeper mode

tesla-set-max-defrost

Tesla Set Max Defrost

tesla-set-scheduled-charging

Tesla Set Scheduled Charging

tesla-set-scheduled-departure

Tesla Set Scheduled Departure

tesla-toggle-sentry-mode

Tesla Toggle Sentry Mode

tesla-set-temperature

Tesla Set Temperature

tesla-set-valet-mode

Tesla Set Valet Mode

tesla-set-vehicle-name

Tesla Set Vehicle Name

tesla-share-data-vehicle

Tesla Share data to Vehicle

tesla-activate-speed-limit

Tesla Activate Speed Limit

tesla-clear-speed-limit-pin

Tesla Clear Speed Limit Pin

tesla-deactivate-speed-limit

Tesla Deactivate Speed Limit

tesla-set-speed-limit

Tesla Set Speed Limit

tesla-move-pano-roof

Tesla Move Pano Roof

tesla-trigger-homelink

Tesla Trigger Homelink

tesla-wake-up-car

Tesla Wake Up Car

tesla-window-control

Tesla Window Control

tesla-wake-up-car-2

Tesla Wake Up Car

Capability Spec

tesla-vehicle-commands.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tesla API — Vehicle Commands
  description: 'Tesla API — Vehicle Commands. 45 operations. Lead operation: Tesla Open Trunk/Frunk. Self-contained Naftiko
    capability covering one Tesla business surface.'
  tags:
  - Tesla
  - Vehicle Commands
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TESLA_API_KEY: TESLA_API_KEY
capability:
  consumes:
  - type: http
    namespace: tesla-vehicle-commands
    baseUri: https://owner-api.teslamotors.com
    description: Tesla API — Vehicle Commands business capability. Self-contained, no shared references.
    resources:
    - name: api-1-vehicles-vehicle_id-command-actuate_trunk
      path: /api/1/vehicles/{vehicle_id}/command/actuate_trunk
      operations:
      - name: opentrunk
        method: POST
        description: Tesla Open Trunk/Frunk
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-auto_conditioning_start
      path: /api/1/vehicles/{vehicle_id}/command/auto_conditioning_start
      operations:
      - name: starthvac
        method: POST
        description: Tesla Start HVAC System
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-auto_conditioning_stop
      path: /api/1/vehicles/{vehicle_id}/command/auto_conditioning_stop
      operations:
      - name: stophvac
        method: POST
        description: Tesla Stop HVAC System
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-cancel_software_update
      path: /api/1/vehicles/{vehicle_id}/command/cancel_software_update
      operations:
      - name: cancelsoftwareupdate
        method: POST
        description: Tesla Cancel Software Update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-charge_max_range
      path: /api/1/vehicles/{vehicle_id}/command/charge_max_range
      operations:
      - name: setmaxchargelimit
        method: POST
        description: Tesla Set Charge Limit to Max Range
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-charge_port_door_close
      path: /api/1/vehicles/{vehicle_id}/command/charge_port_door_close
      operations:
      - name: closechargeport
        method: POST
        description: Tesla Close Charge Port
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-charge_port_door_open
      path: /api/1/vehicles/{vehicle_id}/command/charge_port_door_open
      operations:
      - name: openchargeport
        method: POST
        description: Tesla Open Charge Port
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-charge_standard
      path: /api/1/vehicles/{vehicle_id}/command/charge_standard
      operations:
      - name: sendstandardchargelimit
        method: POST
        description: Tesla Set Charge Limit to Standard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-charge_start
      path: /api/1/vehicles/{vehicle_id}/command/charge_start
      operations:
      - name: startcharge
        method: POST
        description: Tesla Start Charging
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-charge_stop
      path: /api/1/vehicles/{vehicle_id}/command/charge_stop
      operations:
      - name: stopcharge
        method: POST
        description: Tesla Stop Charging
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-door_lock
      path: /api/1/vehicles/{vehicle_id}/command/door_lock
      operations:
      - name: lockdoors
        method: POST
        description: Tesla Lock Doors
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-door_unlock
      path: /api/1/vehicles/{vehicle_id}/command/door_unlock
      operations:
      - name: unlockdoors
        method: POST
        description: Tesla Unlock Doors
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-flash_lights
      path: /api/1/vehicles/{vehicle_id}/command/flash_lights
      operations:
      - name: flashlights
        method: POST
        description: Tesla Flash Lights
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-honk_horn
      path: /api/1/vehicles/{vehicle_id}/command/honk_horn
      operations:
      - name: honkhorn
        method: POST
        description: Tesla Honk Horn
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-navigation_request
      path: /api/1/vehicles/{vehicle_id}/command/navigation_request
      operations:
      - name: navigationrequest
        method: POST
        description: Tesla Send Navigation Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-remote_auto_seat_climate_request
      path: /api/1/vehicles/{vehicle_id}/command/remote_auto_seat_climate_request
      operations:
      - name: remoteautoseatclimaterequest
        method: POST
        description: Tesla Toggle Automatic Seat Heater/Cooler
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-remote_boombox
      path: /api/1/vehicles/{vehicle_id}/command/remote_boombox
      operations:
      - name: remoteboombox
        method: POST
        description: Tesla Remote Boombox
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-remote_seat_cooler_request
      path: /api/1/vehicles/{vehicle_id}/command/remote_seat_cooler_request
      operations:
      - name: remoteseatcoolerrequest
        method: POST
        description: Tesla Set Seat Cooler Level
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-remote_seat_heater_request
      path: /api/1/vehicles/{vehicle_id}/command/remote_seat_heater_request
      operations:
      - name: remoteseatheaterrequest
        method: POST
        description: Tesla Set Seat Heater Level
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-remote_start_drive
      path: /api/1/vehicles/{vehicle_id}/command/remote_start_drive
      operations:
      - name: remotestart
        method: POST
        description: Tesla Remote Start
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-remote_steering_wheel_heater_request
      path: /api/1/vehicles/{vehicle_id}/command/remote_steering_wheel_heater_request
      operations:
      - name: remotesteeringwheelheaterrequest
        method: POST
        description: Tesla Toggle Steering Wheel Heater
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-reset_valet_pin
      path: /api/1/vehicles/{vehicle_id}/command/reset_valet_pin
      operations:
      - name: resetvaletpin
        method: POST
        description: Tesla Reset Valet PIN
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-schedule_software_update
      path: /api/1/vehicles/{vehicle_id}/command/schedule_software_update
      operations:
      - name: startsoftwareupdate
        method: POST
        description: Tesla Start Software Update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_bioweapon_mode
      path: /api/1/vehicles/{vehicle_id}/command/set_bioweapon_mode
      operations:
      - name: bioweapondefense
        method: POST
        description: Tesla Toggle Bioweapon Defense Mode
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_cabin_overheat_protection
      path: /api/1/vehicles/{vehicle_id}/command/set_cabin_overheat_protection
      operations:
      - name: cabinoverheatprotection
        method: POST
        description: Tesla Enable or Disable Cabin Overheat Protection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_charge_limit
      path: /api/1/vehicles/{vehicle_id}/command/set_charge_limit
      operations:
      - name: setchargelimit
        method: POST
        description: Tesla Set Charge Limit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_charging_amps
      path: /api/1/vehicles/{vehicle_id}/command/set_charging_amps
      operations:
      - name: setchargingamps
        method: POST
        description: Tesla Set Charge Current
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_climate_keeper_mode
      path: /api/1/vehicles/{vehicle_id}/command/set_climate_keeper_mode
      operations:
      - name: climatekeeper
        method: POST
        description: Tesla Set the Climate Keeper mode
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_preconditioning_max
      path: /api/1/vehicles/{vehicle_id}/command/set_preconditioning_max
      operations:
      - name: setmaxdefrost
        method: POST
        description: Tesla Set Max Defrost
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_scheduled_charging
      path: /api/1/vehicles/{vehicle_id}/command/set_scheduled_charging
      operations:
      - name: setscheduledcharging
        method: POST
        description: Tesla Set Scheduled Charging
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_scheduled_departure
      path: /api/1/vehicles/{vehicle_id}/command/set_scheduled_departure
      operations:
      - name: setscheduleddeparture
        method: POST
        description: Tesla Set Scheduled Departure
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_sentry_mode
      path: /api/1/vehicles/{vehicle_id}/command/set_sentry_mode
      operations:
      - name: setsentrymode
        method: POST
        description: Tesla Toggle Sentry Mode
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_temps
      path: /api/1/vehicles/{vehicle_id}/command/set_temps
      operations:
      - name: settemperatures
        method: POST
        description: Tesla Set Temperature
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_valet_mode
      path: /api/1/vehicles/{vehicle_id}/command/set_valet_mode
      operations:
      - name: togglevaletmode
        method: POST
        description: Tesla Set Valet Mode
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-set_vehicle_name
      path: /api/1/vehicles/{vehicle_id}/command/set_vehicle_name
      operations:
      - name: setvehiclename
        method: POST
        description: Tesla Set Vehicle Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-share
      path: /api/1/vehicles/{vehicle_id}/command/share
      operations:
      - name: sharetovehicle
        method: POST
        description: Tesla Share data to Vehicle
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-speed_limit_activate
      path: /api/1/vehicles/{vehicle_id}/command/speed_limit_activate
      operations:
      - name: activatespeedlimit
        method: POST
        description: Tesla Activate Speed Limit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-speed_limit_clear_pin
      path: /api/1/vehicles/{vehicle_id}/command/speed_limit_clear_pin
      operations:
      - name: clearspeedlimitpin
        method: POST
        description: Tesla Clear Speed Limit Pin
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-speed_limit_deactivate
      path: /api/1/vehicles/{vehicle_id}/command/speed_limit_deactivate
      operations:
      - name: deactivatespeedlimit
        method: POST
        description: Tesla Deactivate Speed Limit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-speed_limit_set_limit
      path: /api/1/vehicles/{vehicle_id}/command/speed_limit_set_limit
      operations:
      - name: setspeedlimit
        method: POST
        description: Tesla Set Speed Limit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-sun_roof_control
      path: /api/1/vehicles/{vehicle_id}/command/sun_roof_control
      operations:
      - name: opensunroof
        method: POST
        description: Tesla Move Pano Roof
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-trigger_homelink
      path: /api/1/vehicles/{vehicle_id}/command/trigger_homelink
      operations:
      - name: triggerhomelink
        method: POST
        description: Tesla Trigger Homelink
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-command-wake_up
      path: /api/1/vehicles/{vehicle_id}/command/wake_up
      operations:
      - name: wakeupvehiclecommand
        method: POST
        description: Tesla Wake Up Car
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
    - name: api-1-vehicles-vehicle_id-command-window_control
      path: /api/1/vehicles/{vehicle_id}/command/window_control
      operations:
      - name: windowcontrol
        method: POST
        description: Tesla Window Control
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-1-vehicles-vehicle_id-wake_up
      path: /api/1/vehicles/{vehicle_id}/wake_up
      operations:
      - name: wakeupvehicle
        method: POST
        description: Tesla Wake Up Car
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: vehicle_id
          in: path
          type: string
          description: The id of the Vehicle.
          required: true
  exposes:
  - type: rest
    namespace: tesla-vehicle-commands-rest
    port: 8080
    description: REST adapter for Tesla API — Vehicle Commands. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/1/vehicles/{vehicle-id}/command/actuate-trunk
      name: api-1-vehicles-vehicle-id-command-actuate-trunk
      description: REST surface for api-1-vehicles-vehicle_id-command-actuate_trunk.
      operations:
      - method: POST
        name: opentrunk
        description: Tesla Open Trunk/Frunk
        call: tesla-vehicle-commands.opentrunk
        with:
          vehicle_id: rest.vehicle_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/1/vehicles/{vehicle-id}/command/auto-conditioning-start
      name: api-1-vehicles-vehicle-id-command-auto-conditioning-start
      description: REST surface for api-1-vehicles-vehicle_id-command-auto_conditioning_start.
      operations:
      - method: POST
        name: starthvac
        description: Tesla Start HVAC System
        call: tesla-vehicle-commands.starthvac
        with:
          vehicle_id: rest.vehicle_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/1/vehicles/{vehicle-id}/command/auto-conditioning-stop
      name: api-1-vehicles-vehicle-id-command-auto-conditioning-stop
      description: REST surface for api-1-vehicles-vehicle_id-command-auto_conditioning_stop.
      operations:
      - method: POST
        name: stophvac
        description: Tesla Stop HVAC System
        call: tesla-vehicle-commands.stophvac
        with:
          vehicle_id: rest.vehicle_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/1/vehicles/{vehicle-id}/command/cancel-software-update
      name: api-1-vehicles-vehicle-id-command-cancel-software-update
      description: REST surface for api-1-vehicles-vehicle_id-command-cancel_software_update.
      operations:
      - method: POST
        name: cancelsoftwareupdate
        description: Tesla Cancel Software Update
        call: tesla-vehicle-commands.cancelsoftwareupdate
        with:
          vehicle_id: rest.vehicle_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/1/vehicles/{vehicle-id}/command/charge-max-range
      name: api-1-vehicles-vehicle-id-command-charge-max-range
      description: REST surface for api-1-vehicles-vehicle_id-command-charge_max_range.
      operations:
      - method: POST
        name: setmaxchargelimit
        description: Tesla Set Charge Limit to Max Range
        call: tesla-vehicle-commands.setmaxchargelimit
        with:
          vehicle_id: rest.vehicle_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/1/vehicles/{vehicle-id}/command/charge-port-door-close
      name: api-1-vehicles-vehicle-id-command-charge-port-door-close
      description: REST surface for api-1-vehicles-vehicle_id-command-charge_port_door_close.
      operations:
      - method: POST
        name: closechargeport
        description: Tesla Close Charge Port
        call: tesla-vehicle-commands.closechargeport
        with:
          vehicle_id: rest.vehicle_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/1/vehicles/{vehicle-id}/command/charge-port-door-open
      name: api-1-vehicles-vehicle-id-command-charge-port-door-open
      description: REST surface for api-1-vehicles-vehicle_id-command-charge_port_door_open.
      operations:
      - method: POST
        name: openchargeport
        description: Tesla Open Charge Port
        call: tesla-vehicle-commands.openchargeport
        with:
          vehicle_id: rest.vehicle_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/1/vehicles/{vehicle-id}/command/charge-standard
      name: api-1-vehicles-vehicle-id-command-charge-standard
      description: REST surface for api-1-vehicles-vehicle_id-command-charge_standard.
      operations:
      - method: POST
        name: sendstandardchargelimit
        description: Tesla Set Charge Limit to Standard
        call: tesla-vehicle-commands.sendstandardchargelimit
        with:
          vehicle_id: rest.vehicle_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v

# --- truncated at 32 KB (67 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/tesla/refs/heads/main/capabilities/tesla-vehicle-commands.yaml