It is mainly Jared Kushner, Trump's son-in-law, who devised, drafted, maneuvered and brokered the truce treaty. The treaty even comprises a two-state initiative. Jared is an honored Harvard graduate.
Of course, it is reasonable to ascribe this political achievement to Trump himself. His support, interference and especially his nepotistic relation played an important role.
This time, it is real that Trump halted a war. This is the first war he stopped.