Values.ToolConfigurationSourceConfiguration settings for a tool used by AI Agents.
type nonrec t = {toolName : NonEmptyString.t;The name of the tool.
*)toolType : ToolType.t;The type of the tool.
*)title : NonEmptySensitiveString.t option;The title of the tool configuration.
*)toolId : NonEmptyString.t option;The identifier of the tool, for example toolName from Model Context Provider server.
*)description : NonEmptySensitiveString.t option;The description of the tool configuration.
*)instruction : ToolInstruction.t option;Instructions for using the tool.
*)overrideInputValues : ToolOverrideInputValueList.t option;Override input values for the tool configuration.
*)outputFilters : ToolOutputFilterList.t option;Output filters applies to the tool result.
*)inputSchema : JSONDocument.t option;The input schema for the tool configuration.
*)outputSchema : JSONDocument.t option;The output schema for the tool configuration.
*)annotations : Annotation.t option;Annotations for the tool configuration.
*)userInteractionConfiguration : UserInteractionConfiguration.t option;Configuration for user interaction with the tool.
*)}val 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 ->
tval 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 ]