You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ADK's ML Kit model (GenaiPrompt in google-adk-kotlin-mlkit-android, unchanged between 1.4.0-beta and 1.5.0-beta) never sends tool declarations to ML Kit, and ML Kit's Prompt API has no function calling. The provider used to work around this by describing the tools in the instruction and parsing tool_code blocks out of Gemini Nano's text. #290 dropped that: tools passed to the provider now return an unsupported warning.
Support tool calling again once Google ships it, without our own prompt format or parser. Candidates:
ADK's ML Kit model gaining tool support.
ML Kit's com.google.mlkit:genai-agent (1.0.0-alpha1), with an Agent, AgentTools and an AgentRunner that emits function call and response events. It needs Kotlin 2.4 and genai-prompt 1.0.0-beta5, and runs instead of ADK's runner, so it needs a spike first.
Tool approval (#272) depends on this and was closed until then. It mapped the AI SDK's needsApproval to ADK's ToolContext.requestConfirmation.
Closing with the ADK provider (#368). @react-native-ai/android (#367) supports tool calling through the ML Kit Prompt API's function calling, which needs Gemini Nano 4; #365 tracks verifying it on a supported device.
Activity
grabbou commentedon Oct 30, 2026
Closing with the ADK provider (#368).
@react-native-ai/android(#367) supports tool calling through the ML Kit Prompt API's function calling, which needs Gemini Nano 4; #365 tracks verifying it on a supported device.