Module Values.ToolInstructionSource

Instructions for using a tool.

Sourcetype nonrec t = {
  1. instruction : String_.t option;
    (*

    The instruction text for the tool.

    *)
  2. examples : ToolExampleList.t option;
    (*

    Examples for using the tool.

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