SCHOOLS should set up a whistleblowing service to make it easier for pupils to alert staff if their classmates bring weapons to school, an inquiry has said.

The recommendation is included in the final report of the inquiry into the fatal stabbing of 16-year-old Aberdeen pupil Bailey Gwynne.

Child protection expert Andrew Lowe, the report's author, concluded that Bailey’s death at the city’s Cults Academy in October last year was "potentially avoidable" if teachers had known the perpetrator was carrying weapons.

A friend of the killer had seen him in possession of a knife and knuckledusters, but did not report incidents to teachers.

Read more: Amazon under new pressure over Theresa May's voluntary age check crackdown on knives after Bailey Gwynne killing

The report, which refers to the killer as Child A, explains: "The course of the conflict was fatally altered by the possession of a bladed weapon by one of the boys.

"This was potentially predictable and avoidable if those who knew Child A carried weapons in school had reported this to staff."

Mr Lowe called on pupil forums and pupil councils "to be encouraged to develop safe processes" to enable pupils to share their knowledge of weapons with teaching staff.

Individual risk assessments should be completed on all individuals known or suspected to carry offensive weapons.

He also recommended all parents receive a letter at the beginning of secondary school setting out rules on weapons which should be signed and returned.

And his report said Police Scotland should be notified of every incident of weapons possession of which a school becomes aware with all incidents recorded by the school.

Asked why it appeared some pupils at Cults Academy felt they could not report that Bailey's killer had weapons Mr Lowe said: "I don't know whether they didn't feel able or whether they didn't feel it necessary.

"This wasn't a boy who they perceived to be violent or conducting in risky behaviour. He was quite a quiet boy and his motivation for carrying weapons I think was understood by some of these boys as just a form of bravado."

Read more: Amazon under new pressure over Theresa May's voluntary age check crackdown on knives after Bailey Gwynne killing

He said young people "must be the key" to solving knife crime in schools adding: "We know as adults how we are nervous about disclosing information, clyping on friends, particularly if we don't think that friend has malign intent, but is just showing off a little bit. We can't afford to have that belief in our children and in our schools, we must be vigilant and they must be vigilant."

Bailey's killer, who is aged 16 and cannot be named for legal reasons, was jailed for nine years in March after being found guilty of culpable homicide at the High Court in Aberdeen.

Mr Lowe, who is chairman of child and adult protection for Renfrewshire, was brought in by the police, Aberdeen Council and NHS Grampian to look at any lessons which could be learned.

As the Herald revealed yesterday he recommended the Scottish Government consider changing the law to give teachers more powers to search pupils suspected of carrying weapons.

At present, pupils can only be searched by school staff if they agree. If they refuse, schools can contact parents or the police to carry out a search.

In 2007 headteachers in England were granted powers to search pupils suspected of having weapons, but the Scottish Government has always resisted a similar move north of the Border.

Read more: Amazon under new pressure over Theresa May's voluntary age check crackdown on knives after Bailey Gwynne killing

Seamus Searson, general secretary of the Scottish Secondary Teachers' Association, said schools already had procedures in place to allow pupils to report incidents, but warned recent cuts meant the number of support staff had been reduced.

He said: "What is crucial is having the time to develop relationships of trust with pupils so they feel they can talk to teachers in confidence.

"Unfortunately, financial cuts has hit services such as guidance teachers who are at the front line of dealing with difficulties that pupils experience."

Drew Maurice, assistant secretary of the Educational Institute of Scotland (EIS), added: "It would be more likely that a school management team would have mechanisms in place for pupils to speak about concerns.

"The involvement of pupils forums is something that has potential if it is properly structured, but teachers will be given confidential information as a matter of course and they know how to deal with it. Pupils may not have that same level of professionalism."

Justice Secretary Michael Matheson said the Scottish Government would consider the findings and report back in due course.