"He's not a really violent person so he still wanted to react to it, but in a non-violent way so he just wanted to egg their house," he said in his police statement, tendered to the court.
He said the boys egged the home in Melbourne's north before spotting the family in their car.
He hid in bushes with the accused boy after the family started yelling at them and "it looked like the car was trying to run us over", he told the court.
The court was told that after a chase ensued with the family, the accused boy told his friend: "I think I stabbed her. I wasn't meant to".
"He was shaking a lot and he had a lot of tears coming out of his eyes," the friend said.
Another friend of the boy, who also egged the house on the night, said the accused boy told him he gave the woman a "slight jab" after she came at him.
"He was like, 'I just pulled a knife out, and she just ran straight to me, and it just went in'," the youth said in his police statement.
The boy will return to court for a pre-sentence hearing on August 2.
-AAP