British troops could be sent to Libya to help train local forces if a new unity government requests support, Downing Street has indicated.
A UN-sponsored deal aiming to end Libya's conflict by forming a new national unity administration was signed today in Morocco and Number 10 said it would consider any request for assistance.
The UK Government had made clear it would support a new administration in Libya but if any troops were sent to the country they would not be in a combat role, a Downing Street spokesman said.
"No decisions have been made about any future deployment of British troops to Libya," the spokesman said.
If a unity administration is formed and requests assistance, that appeal for help would be considered by the Government.
"We have always been clear we would look to support a unity government if one were to be formed and if one is formed we would obviously need to wait for any requests that they put to us before we would then make a decision," the spokesman said.
"We have always certainly been clear that if any troops were ever deployed on the back of a request from that government, that they certainly would not be in a combat role."
Foreign Secretary Philip Hammond told MPs the West and the Gulf states would "swing behind" a new Libyan government to help them combat Islamic State, also known as Daesh.
He said if a unity government deal was signed "the western countries and the Gulf countries will swing behind that government of national accord and will look to build their capability as soon and as quickly as possible, so that we can start to work in Libya to contain the threat that Daesh now clearly represents in that country".
The Times said Britain is preparing to send up to 1,000 troops and special forces to the North African country to help it resist the advances of IS.
It reported that British military personnel could contribute to a 6,000-strong Italian-led mission to train and support Libyan security forces.
Libya has descended into chaos following the ousting of Muammar Gaddafi in 2011, with factional violence and the lack of a stable government opening the door for IS to make gains in the country.
British jets may have to carry out air strikes in Libya to halt IS's progress through the country, a member of the Commons Foreign Affairs Committee said.
Tory MP Daniel Kawczynski warned that IS - also known as Isis - was shifting from Syria, where it is being attacked by the US-led coalition, including the UK, to Libya.
"I believe passionately that if the government of national unity requests the support of Western forces to take on Isis, I think it will be highly irresponsible and foolish for us not to consider that, bearing in mind that we left that vortex for the Libyan people to grapple with - I'm not blaming the Government but that is the reality of the situation," he said.
Mr Kawczynski told BBC Radio 4's World at One: "If the situation with Isis deepens and gets worse, we will have to contemplate helping the Libyan government to eliminate Isis and that may require a bombing campaign."
He said IS was "extraordinarily strong" in Libya with large numbers of fighters leaving Syria to "form what they hope to be a new alternative state" based around Sirte.
In an echo of the group's land grab in Syria, IS is heading towards the valuable oil fields which could provide it with a source of revenue, the MP said.
"We have to take them on, whether it's in Syria or whether it's in Libya. Now is the time to show extensive force against them, in coalition with other countries, to try to eliminate them.
"If we don't take them on in Syria and we don't take them on in Libya then we are leaving ourselves to the possibility that they will just magnify in strength, their tentacles will spread even further."