GeminiLiveVoice: Tool calls work but args always empty - Expected behavior?
Hi Mastra team! ๐
I'm having trouble getting tool arguments to populate in GeminiLiveVoice. Tools are called but args are always empty. Am I missing some configuration?
Current Setup:
Tool definition:
What happens:
โ
Tools register successfully:
โ
Tools get called when user says "ๆฑไบฌใฎๅคฉๆฐใๆใใฆ":
โ But args are always empty:
Questions:
1. Is
voice.addTools(agent.tools) the correct setup?
2. Do I need additional configuration for argument extraction from speech?
3. Are there specific sessionConfig settings required for tool arguments?
4. Should I handle speech โ arguments mapping manually?
Using gemini-2.0-flash-live-preview-04-09 with latest Mastra. Any insights would be super helpful! ๐1 Reply
๐ Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10161
๐ If you're experiencing an error, please provide a minimal reproducible example to help us resolve it quickly.
๐ Thank you @ttsubasa for helping us improve Mastra!
GitHub
GeminiLiveVoice: Tool calls work but args always empty - Expected b...
This issue was created from Discord post 1439931524081385492: Hi Mastra team! ๐ I'm having trouble getting tool arguments to populate in GeminiLiveVoice. Tools are called but args are always em...
Stack Overflow
How to create a Minimal, Reproducible Example - Help Center
Stack Overflow | The Worldโs Largest Online Community for Developers