Pakistan said Thursday it is making its "utmost" effort to bring Iran and the U.S. back to talks under the Islamabad memorandum of understanding aimed at ending the war.

Foreign Ministry spokesperson Tahir Andrabi told reporters that negotiations between the "parties" are ongoing to normalize the situation, particularly the situation in the Strait of Hormuz.

"We are doing our utmost to bring all parties back to the Islamabad MoU ... so that all irritants can be removed in the light of the spirit of the agreement and the Pakistan-Qatar joint statement on June 22," Andrabi told reporters.

He added that Pakistan was encouraging the countries to "fully adhere to their commitments to hold technical talks" under the agreement.

Andrabi said that Islamabad will continue to support dialogue and diplomacy, maintaining that it remained the "only viable path forward."