Pakistan's army has said it is "cautiously optimistic" about efforts to mediate between Iran and the United States, in its first public comments on the diplomacy since a high-level Pakistani delegation visited Tehran this week. The remarks, made by the military's spokesman to the Reuters news agency in Rawalpindi on Friday, offered the clearest signal yet that Islamabad believes the regional push to revive a ceasefire in the eight-month-old war is making progress.

Lieutenant General Ahmed Sharif Chaudhry, the director general of Inter-Services Public Relations (ISPR), said there were positive signs in the attempts to de-escalate the conflict. His comments came as Qatari mediators arrived in Tehran in another apparent bid to negotiate a revival of the June ceasefire between the United States and Iran, which collapsed months after it was agreed.

At the centre of the effort stands Field Marshal Asim Munir, Pakistan's chief mediator in the crisis. Munir has travelled to Tehran twice this month, most recently on Monday, alongside Saudi Defence Minister Prince Khalid bin Salman and Turkish intelligence chief Ibrahim Kalin. Asked whether the repeated trips were a positive sign, Chaudhry was direct. "Why would the Field Marshal be going twice if it is not for some positivity? So yes, of course," he said. "The word that we would use is always cautiously optimistic."

Chaudhry declined to say what was discussed in Tehran, or whether Washington had backed the Pakistani trip. The caution in his language reflects the fragility of the diplomacy: the war, which began in February when the United States and Israel launched strikes on Iran, has repeatedly defied mediation, and ceasefire efforts have broken down before. Yet the fact that Pakistan's military chose to speak publicly at all, after days of silence following the Tehran visit, is itself being read as a sign that the channels remain open.

The spokesman also warned that there are parties seeking to obstruct the mediation. There are still "powerful spoilers and detractors" who believe conflict serves them, he said, without naming them. The warning points to the crowded field of interests around the conflict, where several regional and outside actors have reason to prefer continued confrontation to a settlement, and where any deal would need to survive their opposition.

The mediation push comes against a backdrop of rising tension in the Gulf. In recent days, the United States has warned its citizens across the Middle East to stay vigilant, shipping in the Strait of Hormuz has come under attack, and Iran has sent a nuclear proposal to Washington through Qatar, though talks hinge on a set of demands from Tehran. Against that picture, the Pakistani assessment that the diplomacy holds promise stands out as one of the more hopeful notes in weeks.

Chaudhry also spoke about the Mecca Joint Defence Agreement, the pact signed on 7 August by Pakistan, Saudi Arabia and Türkiye under which an attack on any signatory is treated as an attack on all. The agreement has taken on added significance as the Iran war has redrawn regional alliances and raised fears of a broader Middle East conflict. Asked whether Iran could join the pact, Chaudhry said its wording did not bar new members. "Anyone who has a shared vision of collective deterrence and regional peace, why not? Everyone is most welcome," he said, adding that it was for the political leadership of the three principal parties to decide.

On the question of whether more Pakistani troops would be sent to Saudi Arabia under the agreement, Chaudhry said that would depend on the situation and the decision of both countries' political leadership. He stressed that Pakistan was committed to defending Saudi Arabia and the holy sites of Mecca and Medina. At the same time, he drew a clear line on Yemen, saying: "We are not part of the Yemeni conflict, which is an intra-Yemen conflict." Fighting between Saudi Arabia and Yemen's Iran-aligned Houthi group has been reignited by the Iran conflict, stoking fears of a wider war.

The Tehran visit on Monday followed a pattern of shuttle diplomacy in which Pakistan has tried to use its unusual position, with working relations in Riyadh, Ankara and Tehran at once, to keep the parties talking. After the talks, Mohsen Rezaei, secretary of Iran's Supreme National Security Council, said regional security should be ensured by regional countries without foreign intervention, a formulation that sits uneasily beside the American role in any settlement but reflects Tehran's public stance.

What happens next is likely to turn on whether the Qatari mediation now under way in Tehran can convert the tentative optimism into a written understanding. A revived ceasefire would need to address the nuclear question at the heart of the standoff, the security of shipping through the Strait of Hormuz, and the web of proxy conflicts, including in Yemen, that the war has inflamed. Each of those issues has defeated negotiators before, and the spoilers Chaudhry warned about remain in play.

For now, though, Pakistan's message is that the diplomacy is alive. Two trips to Tehran in a month by its army chief, a second regional mediation mission in as many days, and a public declaration of cautious optimism together suggest that Islamabad sees a path, however narrow, back from the brink. Whether the parties on either side of the Gulf are willing to walk it is the question the coming days will answer.