Choose a model at runtime
model, models, instructions, temperature, maxOutputTokens, and topP values.
Update application context from a tool
Tools can store information for later turns withcontext.setContext():
Override only the next turn
UsenextTurnParams when a tool should change the immediately following request without permanently changing the agent definition: