"France has a major responsibility for Libya being dragged into chaos by supporting illegal structures there for years, and therefore, it is actually France which is playing a dangerous game in Libya," the foreign ministry said in a statement.
In a sign of mounting tensions between two NATO allies, French President Emmanuel Macron accused Ankara on Monday of playing a "dangerous game" in the north African country that can no longer be tolerated.
Turkey supports the Government of National Accord (GNA) in the conflict and its military support has helped Tripoli make gains against rebel strongman Haftar, who is backed Egypt, Russia and the United Arab Emirates.
France is suspected of supporting Haftar as well, but insists it is neutral in the conflict.
Libya has been mired in violence, with tribal militias, terrorists and merceneries active since the toppling and killing of longtime dictator Muammar Qadhafi.
Haftar, a former Qadhafi-era general who defected decades ago to go to the US, has been battling to take Tripoli since last year.
Tensions have been escalating between Turkey and France since Ankara's unilateral military operation in Syria against the Kurdish militia force. Macron said at the time that NATO was in the throes of a "brain death".
The French leader repeated his controversial comment on Monday, describing Turkey's behaviour as an example that the military alliance had suffered a "brain death".
Ankara said Turkey had a "strong position" in the alliance which maintained its functions even during the COVID-19 pandemic and condemned Macron's controversial comment as a sign of a "distorted approach".
"We are inviting France and the French president to act with the seriousness of a state ... to stop taking steps jeopardising the safety and future of Libya, Syria and the eastern Mediterranean and to use existing channels of dialogue," the ministry said.