GeneratorSuggestion

Suggestion generated using a Generator.

JSON representation
{
  "toolCallInfo": [
    {
      object (ToolCallInfo)
    }
  ],

  // Union field suggestion can be only one of the following:
  "freeFormSuggestion": {
    object (FreeFormSuggestion)
  },
  "summarySuggestion": {
    object (SummarySuggestion)
  }
  // End of list of possible types for union field suggestion.
}
Fields
toolCallInfo[]

object (ToolCallInfo)

Optional. List of request and response for tool calls executed.

Union field suggestion. The suggestion could be one of the many types suggestion can be only one of the following:
freeFormSuggestion

object (FreeFormSuggestion)

Optional. Free form suggestion.

summarySuggestion

object (SummarySuggestion)

Optional. Suggested summary.

FreeFormSuggestion

Suggestion generated using free form generator.

JSON representation
{
  "response": string
}
Fields
response

string

Required. Free form suggestion.

SummarySuggestion

Suggested summary of the conversation.

JSON representation
{
  "summarySections": [
    {
      object (SummarySection)
    }
  ]
}
Fields
summarySections[]

object (SummarySection)

Required. All the parts of generated summary.

SummarySection

A component of the generated summary.

JSON representation
{
  "section": string,
  "summary": string
}
Fields
section

string

Required. Name of the section.

summary

string

Required. Summary text for the section.

ToolCallInfo

Request and response for a tool call.

JSON representation
{
  "toolCall": {
    object (ToolCall)
  },
  "toolCallResult": {
    object (ToolCallResult)
  }
}
Fields
toolCall

object (ToolCall)

Required. Request for a tool call.

toolCallResult

object (ToolCallResult)

Required. Response for a tool call.

ToolCall

Represents a call of a specific tool's action with the specified inputs.

JSON representation
{
  "tool": string,
  "action": string,
  "inputParameters": {
    object
  },
  "createTime": string
}
Fields
tool

string

Optional. The tool associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>.

action

string

Optional. The name of the tool's action associated with this call.

inputParameters

object (Struct format)

Optional. The action's input parameters.

createTime

string (Timestamp format)

Output only. Create time of the tool call.

Uses RFC 3339, where generated output will always be Z-normalized and uses 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".

ToolCallResult

The result of calling a tool's action.

JSON representation
{
  "tool": string,
  "action": string,
  "createTime": string,

  // Union field result can be only one of the following:
  "error": {
    object (Error)
  },
  "rawContent": string,
  "content": string
  // End of list of possible types for union field result.
}
Fields
tool

string

Optional. The tool associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>.

action

string

Optional. The name of the tool's action associated with this call.

createTime

string (Timestamp format)

Output only. Create time of the tool call result.

Uses RFC 3339, where generated output will always be Z-normalized and uses 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".

Union field result. The tool call's result. result can be only one of the following:
error

object (Error)

The tool call's error.

rawContent

string (bytes format)

Only populated if the response content is not utf-8 encoded. (by definition byte fields are base64 encoded).

A base64-encoded string.

content

string

Only populated if the response content is utf-8 encoded.

Error

An error produced by the tool call.

JSON representation
{
  "message": string
}
Fields
message

string

Optional. The error message of the function.