Prime Minister Boris Johnson has blamed Iran for attacks on Saudi Arabian oil facilities ahead of a meeting with the country's president, Hassan Rouhani.
Mr Johnson said there was a "very high degree of probability" Iran was behind the drone and missile attacks on two oil facilities, which Tehran denies.
The prime minister declined to rule out military intervention and said sanctions were also a possibility.
But an Iranian foreign ministry spokesman rejected the PM's comments.
Abbas Mousavi said they amounted to "fruitless efforts against the Islamic Republic of Iran", and attacked the British government for "selling lethal weapons to Saudi Arabia".
The US, which also blames Iran for the oil attacks, is sending more troops to Saudi Arabia.
Saudi Arabia has also accused Iran of carrying out the 14 September attacks, in which 18 drones and seven cruise missiles hit an oil field and processing facility.
Speaking on board an RAF Voyager jet on the way to the United Nations General Assembly in New York, Mr Johnson gave the UK's first attribution of blame.
He said: "I can tell you that the UK is attributing responsibility with a very high degree of probability to Iran for the Aramco attacks."
Mr Johnson said he would be working with the US and other European countries "to construct a response that tries to de-escalate tensions in the Gulf region".
Yemen's Iran-aligned Houthi rebels have claimed responsibility, while Iran itself has denied any involvement. It warned it would retaliate against any attacks after the US announced it was sending troops to Saudi Arabia.
"Clearly if we are asked either by the Saudis or the Americans to have a role then we would consider in what way we could be useful," Mr Johnson said.
Asked if military action was possible, he said: "We will consider in what way we could be useful if asked and depending on what the exact plan is."
Sanctions also remained on the table, he said.
A Whitehall source said the Houthi rebels' claim of responsibility was "implausible" as the "scale, sophistication and range" of the attack was beyond their capabilities.
The prime minister attended a joint meeting with French President Emmanuel Macron and German Chancellor Angela Merkel at the UN to discuss the attacks, along with Brexit.
Later the three leaders issued a joint statement saying it was "clear" that Iran bore responsibility for the attacks.
"There is no other plausible explanation," they said.
They added that the attacks underlined "the importance of making collective efforts towards regional stability and security" and "the necessity of de-escalation in the region through sustained diplomatic efforts and engagement with all parties".
The prime minister said he also promised to bring up the case of Nazanin Zaghari-Ratcliffe and other dual British-Iranian nationals held in Tehran during his meeting with Mr Rouhani.
Mr Johnson came under severe criticism as foreign secretary after appearing to contradict Mrs Zaghari-Ratcliffe, who says she was in Iran visiting family.
She is serving a five-year sentence on spying charges, which she has always denied.