Module Values.SystemToolSource

Specifies a system-defined tool for the model to use. System-defined tools are tools that are created and provided by the model provider.

Sourcetype nonrec t = {
  1. name : ToolName.t;
    (*

    The name of the system-defined tool that you want to call.

    *)
}
Sourceval context_ : string
Sourceval make : name:ToolName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ToolName.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