async def METHOD_NAME(self, _request: Dict[str, object]) -> EndpointResult:
    auto_farm = bool(_request["auto_farm"])
    result = await self.simulator_api.update_autofarm_config(auto_farm)
    return {"auto_farm_enabled": result}