Libya has urged the UN to lift an arms embargo so it can fight the Islamic State (IS) group.
Foreign minister Mohammed al Dairi said the need was urgent, as IS establishes a presence in North Africa and moves closer to Europe.
He spoke at an emergency session of the UN Security Council amid regional alarm after IS over the weekend posted a video of the beheadings of 21 Egyptian Coptic Christians in Libya.
Mr al Dairi stressed Libya is not asking for international intervention. But he said the international community has a "legal and moral responsibility to lend urgent support" and that the region, including the Mediterranean, is in danger.
"If we fail to have arms provided to us, this can only play into the hands of extremists," he said.
He told reporters he wanted to see the same attention paid the danger in Libya as has been paid to Iraq and Syria, where a US-led coalition is fighting IS.
The foreign minister of neighbouring Egypt, Sameh Shoukry, called for a naval blockade on arms heading to areas of Libya outside the control of "legitimate authorities".
He did not rule out troops on the ground in Libya and said his country was seeking international support "by all means".
Jordan was circulating a draft resolution on the issue to fellow council members.
Aside from the call to lift the arms embargo, the draft resolution also calls on militias to withdraw from Tripoli to allow the return of the "legitimate government," and it condemns any attempt to supply arms to non-state actors.
Egypt responded strongly to the beheadings, carrying out airstrikes against IS positions in Libya and saying it was in self-defence.
Energy rich Libya is hit by the worst fighting since long-ruling dictator Moammar Gadhafi was overthrown in 2011.
Two rival governments and parliaments - each backed by different militias - rule in the country's eastern and western regions.
After Islamic and tribal militias took over the capital, Tripoli, the elected parliament has been forced to function in the eastern city of Tobruk.
On Tuesday, Egyptian president Abdel-Fattah el-Sissi called on the UN to approve a new coalition for airstrikes in Libya, where the extremists have set up their first major affiliate outside of Iraq and Syria.
Countries in the region have been stepping up to offer support since the video of the beheadings emerged.
Both Italy and Algeria during the council meeting expressed their willingness to participate in international efforts.
Italy is especially concerned. The country's islands on the Mediterranean are only a few hundred miles from Libya, and Italian officials worry that militants will mingle with the waves of migrants being smuggled across from Libya and arrive in Italy by sea.
France, a lead player in the campaign to oust Gadhafi in 2011, has campaigned for months for some kind of international action in Libya.