Penal Code section 866
(a)
When the examination of witnesses on the part of the people is closed, any witness the defendant may produce shall be sworn and examined.(b)
It is the purpose of a preliminary examination to establish whether there exists probable cause to believe that the defendant has committed a felony. The examination shall not be used for purposes of discovery.(c)
This section shall not be construed to compel or authorize the taking of depositions of witnesses.
Source:
Section 866, https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=PEN§ionNum=866.
(accessed Apr. 24, 2025).