Module Values.ContentBlockStartSource

Content block start information.

Sourcetype nonrec t = {
  1. toolUse : ToolUseBlockStart.t option;
    (*

    Information about a tool that the model is requesting to use.

    *)
  2. toolResult : ToolResultBlockStart.t option;
    (*

    The

    *)
  3. image : ImageBlockStart.t option;
    (*

    The initial event indicating the start of a streaming image block.

    *)
}
Sourceval make : ?toolUse:??? -> ?toolResult:??? -> ?image:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of ToolUseId.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t