Module Values.ToolConfigurationSource

Configuration settings for a tool used by AI Agents.

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

    The name of the tool.

    *)
  2. toolType : ToolType.t;
    (*

    The type of the tool.

    *)
  3. title : NonEmptySensitiveString.t option;
    (*

    The title of the tool configuration.

    *)
  4. toolId : NonEmptyString.t option;
    (*

    The identifier of the tool, for example toolName from Model Context Provider server.

    *)
  5. description : NonEmptySensitiveString.t option;
    (*

    The description of the tool configuration.

    *)
  6. instruction : ToolInstruction.t option;
    (*

    Instructions for using the tool.

    *)
  7. overrideInputValues : ToolOverrideInputValueList.t option;
    (*

    Override input values for the tool configuration.

    *)
  8. outputFilters : ToolOutputFilterList.t option;
    (*

    Output filters applies to the tool result.

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

    The input schema for the tool configuration.

    *)
  10. outputSchema : JSONDocument.t option;
    (*

    The output schema for the tool configuration.

    *)
  11. annotations : Annotation.t option;
    (*

    Annotations for the tool configuration.

    *)
  12. userInteractionConfiguration : UserInteractionConfiguration.t option;
    (*

    Configuration for user interaction with the tool.

    *)
}
Sourceval context_ : string
Sourceval make : ?title:??? -> ?toolId:??? -> ?description:??? -> ?instruction:??? -> ?overrideInputValues:??? -> ?outputFilters:??? -> ?inputSchema:??? -> ?outputSchema:??? -> ?annotations:??? -> ?userInteractionConfiguration:??? -> toolName:NonEmptyString.t -> toolType:ToolType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of NonEmptyString.t | `Structure of (string * [> `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `String of NonEmptySensitiveString.t ]) list ]) list ]) list ] list | `String of NonEmptyString.t | `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of String_.t ] list | `String of String_.t ]) 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