The arrests were made shortly after 2pm during a planned operation in Harehills.
Three of those arrested were charged on Tuesday, March 19.
A spokesman for West Yorkshire Police said: "Three males, two aged 17 and one aged 16, all from Huddersfield, have each been charged with possession of an offensive weapon.
"The 16-year-old and one of the 17-year-olds have also been charged with possession of cannabis.
"They were released under investigation in relation to conspiracy to commit grievous harm along with two other males, aged 17 and 18 from Leeds."
All three boys are due to appear at Leeds Youth Court on May 7.