Module Values.ToolResultBlockDeltaSource

Contains incremental updates to tool results information during streaming responses. This allows clients to build up tool results data progressively as the response is generated.

Sourcetype nonrec t = {
  1. text : String_.t option;
    (*

    The reasoning the model used to return the output.

    *)
  2. json : Document.t option;
    (*

    The JSON schema for the tool result content block. see JSON Schema Reference.

    *)
}
Sourceval make : ?text:??? -> ?json:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of 'a 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