SuggestionInput

Represents the action to take for a tool call that requires confirmation.

JSON representation
{
  "answerRecord": string,
  "textOverride": {
    object (TextInput)
  },
  "parameters": {
    object
  },
  "action": enum (Action),
  "intentInput": {
    object (IntentInput)
  },
  "sendTime": string
}
Fields
answerRecord

string

Required. Format: projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID> The answer record associated with the tool call.

textOverride

object (TextInput)

Optional. If the customer edited the suggestion before using it, include the revised text here.

parameters

object (Struct format)

Parameters to be used for the tool call. If not provided, the tool will be called without any parameters.

action

enum (Action)

Optional. The type of action to take with the tool.

intentInput

object (IntentInput)

The intent to be triggered on V3 agent.

sendTime

string (Timestamp format)

Optional. Time when the current suggest input is sent. For tool calls, this timestamp (along with the answer record) will be included in the corresponding tool call result so that it can be identified.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

Action

Indicate what type of action to take with the tool call.

Enums
ACTION_UNSPECIFIED Action not specified.
CANCEL Indicates the user chooses to not make the tool call. It is only applicable to tool calls that are waiting for user confirmation.
REVISE Makes the tool call with provided parameters. This action is intended for tool calls that only read but not write data.
CONFIRM Makes the tool call with provided parameters. This action is intended for tool calls that may write data.