Module Values.CallResultSource

The result returned from executing a tool call.

Sourcetype nonrec t = {
  1. callId : CallId.t option;
    (*

    The identifier of the tool call that this result corresponds to.

    *)
  2. content : CallResultContents.t;
    (*

    The content returned by the tool execution, which can include text or other media types.

    *)
}
Sourceval context_ : string
Sourceval make : ?callId:??? -> content:CallResultContents.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of CallId.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