Prosecutor Jean-Francois Ricard said a 14-year-old and a 15-year-old are among seven people who appeared before an investigating magistrate on accusations of complicity in murder in relation with a terrorist undertaking, and criminal conspiracy.
The suspect in Friday’s killing of teacher Samuel Paty, who was attacked and beheaded near Paris, offered students at the school 300 to 350 euros (£267 to £311) to help him pick out, Mr Ricard said during a news conference on Wednesday.
“The investigation has established that the perpetrator knew the name of the teacher, the name of the school and its address, yet he did not have the means to identify him,” the prosecutor said.
“That identification has only been possible with the help of students from the same school.
“That’s why the anti-terrorism prosecutor’s office has decided to prosecute two under-18 minors whose implication in the identification of the victim for the killer has appeared to be conclusive.”
A terror investigation is under way into Mr Paty’s killing.
Authorities have identified the killer as Abdoullakh Anzorov., an 18-year-old Moscow-born Chechen refugee who was later shot dead by police.
The surviving suspects also include a student’s father who posted videos on social media that called for mobilisation against the teacher and an Islamist activist who helped the man disseminate the virulent messages, which named Mr Paty and gave the school’s address, Mr Ricard said.
Two more men are accused of having helped the attacker by accompanying him when he bought weapons including a knife and an airsoft gun that were found near the 18-year-old’s body, according to the prosecutor.
Another suspect had close contacts with the attacker and endorsed radical Islamism, Mr Ricard said.
The French government issued an order on Wednesday morning to dissolve domestic militant Islamic group the Collective Cheikh Yassine.
Government spokesman Gabriel Attal said it was “implicated, linked to Friday’s attack” and was used to promote anti-republican hate speech.
Other groups will be dissolved “in the coming weeks” for similar reasons, Mr Attal said.
Named after an assassinated leader of the Palestinian Hamas, Collective Cheikh Yassine was founded in the early 2000s by an Islamist activist who is among the seven people accused of being accomplices to the attacker.
Mr Attal also confirmed the government ordered a mosque in the north-east Paris suburb of Pantin to close for six months.
It is being punished for relaying the angry father’s message on social media.
Authorities say it has long had an imam following the Salafist path, a rigorous interpretation of the Muslim holy book.
A national memorial event is scheduled to be held Wednesday evening in the courtyard of the Sorbonne university.