Question 1 · choose 1
A retailer's agent must tell customers the status of their orders, which only the company's order API knows. With function calling on Agent Platform, what happens when a customer asks "Where is my order?"
- AThe model connects to the order API over the internet on its own
- BThe model names the function and arguments; the app calls the API
- CThe model looks up the order in data it memorized during tuning
- DThe model retrieves similar past orders from a vector database instead
Show the answer and why
AThe model connects to the order API over the internet on its own
Incorrect
The model only proposes the call; your application decides whether to make it and makes it.
BThe model names the function and arguments; the app calls the API
Correct
With function calling, the model does not execute anything itself: it returns a structured request naming the function and its arguments, the application calls the order API, and the result is passed back to the model for the answer.
CThe model looks up the order in data it memorized during tuning
Incorrect
The model has no record of this customer's order; only the order API knows its current status.
DThe model retrieves similar past orders from a vector database instead
Incorrect
Similarity search finds related passages; the customer needs the exact live status of one order.
Tools such as functions let an agent reach live systems, but the model only asks; the application acts.
Google Cloud documentation