The incident occurred on Wednesday morning when the boy was relieving himself in an under-construction structure on the premises of the school, a police official said.
The boy was class 4 student. According to police, the boy was attacked with an axe on his neck and hips.
The victim's body was sent to the government hospital for postmortem.
No arrests have been made so far, he said.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.