Lock the doors
toyota_lock_doorsLock car doors and verify the vehicle reports them locked. Preview the action with confirm=false before sending, then send the command only when explicitly requested.
Instructions
Lock the doors, then verify against the state the car reports.
Only when the user explicitly asked to lock the car. Call with confirm=false first when in doubt; the report says whether the car confirmed the new state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true sends the command to the car; false (default) only previews what would happen and sends nothing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doors | No | ||
| detail | Yes | ||
| status | Yes | 'needs_confirmation' = nothing was sent; 'verified' = the car reported the new state; 'accepted' = Toyota accepted the command but the car has not confirmed it yet; 'failed' = the car rejected it. | |
| climate | No | ||
| command | Yes | ||
| charging | No | ||
| elapsed_seconds | No |