Module Values.SpanToolResultValue

Tool result message content

Sourcetype nonrec t = {
  1. toolUseId : Uuid.t option;
    (*

    Relates this result back to the tool invocation

    *)
  2. values : SpanMessageValueList.t option;
    (*

    The tool results

    *)
  3. error : NonEmptyString.t option;
    (*

    The tool invocation error if failed

    *)
}
Sourceval make : ?toolUseId:Uuid.t -> ?values:SpanMessageValueList.t -> ?error:NonEmptyString.t -> unit -> t
Sourceval to_value : t -> Awso.Botodata.value
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t