Function: setCruiseControl
Description: This tool belongs to the vehicle control system, which allows users to control various aspects of the car such as engine, doors, climate control, lights, and more. Tool description: Sets the cruise control of the vehicle.
Parameters:
type: dict
properties: speed: type: float
description: The speed to set in m/h. The speed should be between 0 and 120 and a multiple of 5.
activate: type: boolean
description: True to activate the cruise control, False to deactivate.
distanceToNextVehicle: type: float
description: The distance to the next vehicle in meters.
required: speed, activate, distanceToNextVehicle
Response:
type: dict
properties: cruiseStatus: type: string
description: The status of the cruise control. [Enum]: ["active", "inactive"]
currentSpeed: type: float
description: The current speed of the vehicle in km/h.
distanceToNextVehicle: type: float
description: The distance to the next vehicle in meters.