How to trigger a certain toolbar action through iframe api?

I want to start “closedcaptions” when an admin joins a call

I understand I can listen to videoConferenceJoined and wait for an admin to join, but how would I trigger transcription as soon as they join the call?

Is there a command to trigger toolbar buttons or for this case, just transcriptions through the iframe api?