Trump said Middle East allies had agreed on the broad parameters of an agreement to end the five-month-old conflict with Iran.