Problem (one or two sentences)
While trying to use the new native gemini-3-pro tool calls with the gemini provider it seems to have problems with this error being returned:
Gemini generate context stream error: {"error":{"message":"{\n "error": {\n "code": 400,\n "message": "Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call default_api:ask_followup_question , position 4. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.",\n "status": "INVALID_ARGUMENT"\n }\n}\n","code":400,"status":"Bad Request"}}
I've also experienced this with the code search tool.
XML based(non native) tool calls work.
Context (who is affected and when)
Gemini 3.0-pro users that want to use native tool calls with the gemini provider.
Reproduction steps
- Set up gemini-3-pro with the gemini provider.
- Try to push the agent to do tool calls.
Expected result
Tool calls should consistently work.
Actual result
Tool calls inconsistently work.
Variations tried (optional)
No response
App Version
3.34.0
API Provider (optional)
Google Gemini
Model Used (optional)
Gemini-3-pro-preview
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)