GAIL Google Cloud’s generative AI offerings

In an agent design, which component lets the agent carry out a real-world operation, such as submitting an order to a fulfillment API?

Show answer and explanation

Answer: D

A tool, sometimes called an extension or function, gives an agent a way to act beyond generating text, such as invoking an API to place an order or update a record. The agent decides when to call it based on the request. The knowledge index supplies information, the moderation policy constrains output, and a service account is an identity, so none of those carry out the operation.

Why the other options are wrong

  • A. A knowledge index supplies information for the agent to read. It retrieves content but does not perform an external operation.
  • B. A moderation policy filters or constrains what the agent may output. It does not execute actions against outside systems.
  • C. A service account is an identity used for authorization and logging. It is not the mechanism that performs the business action.

Exam tip. If the question asks what lets an agent act on an external system, look for the tool or function, not the data store or identity.

Keep going. 120 GAIL questions, answers explained after each one.

Practise this domain

Reviewed November 2026. Spotted a problem with this question? Report it from the practice tool.