Bonsall's defense attorney says the actor needs marijuana for headaches and has applied for a medical marijuana card through the state.
He is accused of repeatedly hitting a friend in the head with a broken wooden stool in December and of missing a court hearing in 2007 in another assault case.
Bonsall played the role of the youngest Keaton sibling, Andy, on the NBC sitcom starring Michael J. Fox.