Struct

Struct represents a structured data value, consisting of fields which map to dynamically typed values.

Fields
fields[] object (Field)

Dynamically typed fields. List instead of map because LLMs are sensitive to ordering, and we want to give users full control.

JSON representation
{
  "fields": [
    {
      object (Field)
    }
  ]
}

Field

Represents a single field in a struct.

Fields
name string
value object (Value)
JSON representation
{
  "name": string,
  "value": {
    object (Value)
  }
}