Jordan's Foreign Minister Ayman Safadi. AFP
"Jordan will not be anyone's battlefield," Safadi said in a phone call with his British counterpart David Lammy, according to a ministry statement.
The country would "defend itself with all its capabilities against any threat to its security, its stability and the safety of its citizens", he added, saying "Jordan has clearly informed Iran and Israel of this stance".
Israel has promised to retaliate after Iran launched around 200 missiles at Israel on Tuesday in response to the killings of Hezbollah and Hamas leaders.
The Jordanian Public Security Directorate said after the attack its air force and air defences had intercepted missiles and drones.
The interior ministry said a number of people suffered minor injuries from falling debris.
Safadi called for ceasefire agreements in both Gaza and Lebanon to "stop this dangerous escalation" in the Middle East.
Short link: