A “very large” knife was found by children in a York playground, the chair of a community association said.