Flashcardsfor IT Certifications

D3: ADK Tools & Callbacks

Google Cloud Professional Agentic Architect exam practice questions · 11 flashcards

Question
What is a FunctionTool?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 ADK Tools & Callbacks practice questions and answers
  1. What is a FunctionTool?
    A Python function exposed as a tool; its docstring and signature describe it to the model.
  2. What is an AgentTool?
    Wraps another agent so it can be called like a tool.
  3. Sub-agent transfer vs AgentTool?
    Transfer hands control to the sub-agent; AgentTool calls it and returns the result to the caller.
  4. Built-in ADK tools examples?
    Google Search grounding and code execution.
  5. What is MCPToolset?
    Connects an ADK agent to tools exposed by an MCP server.
  6. What is OpenAPIToolset?
    Generates tools from an OpenAPI specification.
  7. What are callbacks?
    Hooks before/after agent, model and tool calls to inspect, modify or block behavior.
  8. Use case for before_tool_callback?
    Validate arguments or block disallowed actions.
  9. Use case for after_model_callback?
    Filter or reformat model output.
  10. What is a long-running function tool?
    A tool for operations that take time or require human approval.
  11. Why write good tool docstrings?
    The model chooses and calls tools based on them.