Prime Minister Christopher Luxon has spent time with communities in Tonga after the 53rd Pacific Islands Forum wrapped up.
His motorcade was welcomed at G.M.S. Tokomololo School by dozens of school children waving Tongan flags on the roadside.
The school had set out flax baskets full of fruit and vegetables, as well as a whole pig on a bed of palm branches.
The New Zealand government has printed 24,000 copies of 12 dual-language versions of books for the 122 primary schools in Tonga, at a cost of $140,000.
It is also contributing $6.3 million to support deaf learners in Tonga, Fiji, Vanuatu, Niue and Cook Islands through increased access to quality learning, sign language, early identification and intervention services.
The school put on a colourful show for Luxon and his wife Amanda on Friday afternoon, with students singing songs, performing a traditional ceremony and a zumba dance.
A deaf student became overwhelmed with emotion when Luxon approached him and his parents afterwards.
Luxon then visited a watermelon farm, where his government has funded a pilot drip irrigation system with Nishi Farming and six smallholder farmers to help combat the impact of recent drought on watermelon crops.
He was due to fly back to Auckland on a Defence Force plane in the evening.