D2: Agent Tools: Extensions, Functions, Data Stores & Plugins
Google Cloud Generative Leader exam practice questions · 10 flashcards
Question
Why do agents need tools?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Agent Tools: Extensions, Functions, Data Stores & Plugins practice questions and answers
- Why do agents need tools?To access real-time data and take actions beyond the model's knowledge.
- What are extensions?Connect agents to external APIs so the agent can call them directly.
- What are functions (function calling)?The model outputs a structured request for your code to run a function and return results.
- Extensions vs functions?Extensions: agent calls API directly. Functions: your application executes the call.
- What are data stores?Sources of information (websites, documents, databases) agents use for grounded answers.
- What are plugins?Packaged integrations that add capabilities to an agent or app.
- Example of a function tool?get_order_status that queries an order database.
- Example of a data store?A company's product manuals indexed for retrieval.
- Why might you prefer functions for sensitive actions?Your code controls execution, security and validation.
- How do tools reduce hallucinations?Agents fetch real data instead of guessing.