Turkish Presidential spokesman Ibrahim Kalin said on Tuesday that Turkey may need to draft a bill to allow for troop deployment to Libya, confirming that the Turkish parliament is working on the issue.

Kalin told a news conference in Ankara that there might be a need for an authorization in line with the developments in Libya, adding that the parliament is conducting work on this issue.

"We will continue to support the internationally recognized Libyan government. This support may be in terms of military training, or other areas, such as political support." Kalin said.

Speaking in Ankara after a cabinet meeting, Kalin added that Turkey would continue to provide the necessary support to the Tripoli-based government.

"We are working toward achieving an immediate ceasefire under the auspices of the UN and we want things to go back as they were before last April. Thus, Khalifa Haftar should end his offensive on Tripoli or the situation will be escalated throughout the country." He added, saying the foreign support for Haftar, including that of Russia, won't help resolve the conflict.

Meanwhile, the Russian Foreign Ministry said Tuesday that Moscow and Ankara had reached an agreement to work out a swift resolution to the Libyan crisis.

Sputnik said the agreement came after talks between the Russians and Turks on the situation in Libya.