The committee has also recommended clearer guidelines on the surrender and retention rule changes set out in the Education Amendment Bill.
Schools will be able to require students hand over any item that threatens the safety of another or affects the learning environment.
Students could be required to hand over electronic items, bags or other containers to be searched
If there's an immediate threat to the safety of another person and the student refuses to surrender it, the school can ask the student to remove a jacket and clothing, head covering, gloves, footwear or socks.
Drug dogs will be allowed into schools to search school property such as desks and lockers, but not students.
Green Party co-leader Metiria Turei opposed the legislation but said at least there would be a new provision allowing for the application of the Ombudsman Act.
"Sadly this slight improvement is not enough to save some deeply flawed legislation,'' Ms Turei said.
Labour's education spokesman Chris Hipkins said the committee spent a lot of time debating the issues.
"I think the position we reached is sensible.
"Schools have a very difficult job balancing the rights of individual students with the rights of all student and staff to work in a safe environment.
"The clearer the rules and guidelines are, the easier it will be for schools to tread that fine line appropriately.