Hi everyone,
I’m facing issues with the Gemini Live API related to tool (function) calling:
Main Issues:
- Incorrect Execution: Sometimes, despite declaring tools correctly for function calling, the model treats them as executable code instead of calling the tool.
- Empty Responses: Even when a tool is called and returns data, the model sometimes responds with nothing, as if the output was ignored.
- Tool Outputs Field: In some responses, it just shows
"tool_outputs"
without integrating the result naturally into the conversation.
What I’ve Done:
- Validated the tool schema.
- Logged tool responses on the backend.
- Tested with multiple prompt variations.
Is this a known issue, or is there a workaround to ensure consistent tool behavior?