Module Values.SendMessageContentBlockStartEventSource

Event emitted when a new content block starts

Sourcetype nonrec t = {
  1. index : Integer.t option;
    (*

    Zero-based index of the content block

    *)
  2. type_ : String_.t option;
    (*

    The type of content in this block

    *)
  3. id : String_.t option;
    (*

    Block identifier

    *)
  4. parentId : String_.t option;
    (*

    Optional parent block ID for nested content blocks (e.g. subagent tool calls)

    *)
  5. sequenceNumber : Integer.t option;
    (*

    Event sequence number

    *)
}
Sourceval make : ?index:??? -> ?type_:??? -> ?id:??? -> ?parentId:??? -> ?sequenceNumber:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) 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