subpoena
As a noun, a court or legislative order requiring a person to testify or to hand over documents, with a penalty for refusing. As a verb, to issue such an order to someone or for something.
Tell
a witness or records, under penalty
Best when
You mean the specific legal order that forces a witness to testify or produce records, or the act of issuing it.
Example
“The court subpoenaed the company's emails.”