Multimodal Live API - force tool use

Hello,

I want to force a tool to be called using the Multimodal Live API. I’m currently trying to achieve this with prompting using:

client.send([{ 
  text: `execute ${planningResult}` 
}], true);

However, it doesn’t work.

Is there a way to do this programmatically without relying on prompting? Do I miss something?

My base code is from the Multimodal Live API - Web console (github)