Module Values.SpanMessageValue

Message content value - can be text, tool invocation, tool result, or reasoning

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

    Text message content

    *)
  2. toolUse : SpanToolUseValue.t option;
    (*

    Tool invocation message content

    *)
  3. toolResult : SpanToolResultValue.t option;
    (*

    Tool result message content

    *)
  4. reasoning : SpanReasoningValue.t option;
}
Sourceval make : ?text:SpanTextValue.t -> ?toolUse:SpanToolUseValue.t -> ?toolResult:SpanToolResultValue.t -> ?reasoning:SpanReasoningValue.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