ADK input and output for llm function call using Gemini model
When it comes to tool calling, it can quickly get complicated - as tool calling can behave quite differently for different models, how do you pass those response back to the LLM model so that it can be used. If we were to use a 2 billion paramater smaller model, those tool calling cane challenging. Having said that, it is worth look behind the scene how tool happens - what is the input and output when using it with Google ADK This is what an input to the model using Google ADK looks like using Gemini-2.5-flash model='gemini -2.5 -flash' contents=[ Content( parts= [ Part( text='What is my account balance including pending charges for user_ 123 ?' ) , ], role='user' ) ] config=GenerateContentConfig( system_instruction= """You are a helpful customer support agent. Answer questions concisely. You are an agent. Your internal name is " account_assistant ".""" , tools=[ Tool( ...