PRODUCTION SCENARIO
A support agent built on Gemini must answer “where is my order?” from the company's live order-tracking system, and file a return request when a customer asks for one.
Which mechanism lets the model do both?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: Function calling, where the model emits structured calls the application executes
Function calling gives the model definitions of external tools; it decides when one is needed, emits structured data naming the tool and its parameters, and the application runs it and feeds the result back. Its two core uses are fetching current data and taking action in another system, which is exactly the pair of jobs here.