Module Values.ToolUseResultDataSource

Data about the result of tool usage.

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

    The identifier of the tool use instance.

    *)
  2. toolName : NonEmptyString.t;
    (*

    The name of the tool that was used.

    *)
  3. toolResult : JSONDocument.t;
    (*

    The result of the tool usage.

    *)
  4. inputSchema : JSONDocument.t option;
    (*

    The input schema for the tool use result.

    *)
}
Sourceval context_ : string
Sourceval make : ?inputSchema:??? -> toolUseId:NonEmptyString.t -> toolName:NonEmptyString.t -> toolResult:JSONDocument.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.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