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:NonEmptySensitiveString.t -> ?toolId:NonEmptyString.t -> ?description:NonEmptySensitiveString.t -> ?instruction:ToolInstruction.t -> ?overrideInputValues:ToolOverrideInputValueList.t -> ?outputFilters:ToolOutputFilterList.t -> ?inputSchema:JSONDocument.t -> ?outputSchema:JSONDocument.t -> ?annotations:Annotation.t -> ?userInteractionConfiguration:UserInteractionConfiguration.t -> 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