Diagram
A decision tree that branches on needing private data, a live external API, or a defined action to choose between data store, extension, and function calling.
Choosing Between Extensions, Functions, and Data Stores
Choosing between extensions, functions, and data stores depends on what the agent needs to reach and whether it must retrieve information or take action:
| Category | What it connects the agent to | Example in Google Cloud |
|---|---|---|
| Extension | External systems and live APIs | Data Agent Kit extension for VS Code; Spanner MCP server; Gemini Enterprise for Customer Experience tools |
| Function calling | Defined operations and custom code | Tools created in Gemini Enterprise for Customer Experience; n8n workflows on Cloud Run |
| Data store | Private organizational data | Gemini Data Analytics conversational data agents over Spanner |
Domain 1 of 3
34 practice questions
Practice this DomainLast updated