Class Tool.ToolBuilder
java.lang.Object
nl.dannyj.mistral.models.completion.tool.Tool.ToolBuilder
- Enclosing class:
- Tool
-
Method Details
-
type
The type of the tool. Currently, only "function" is supported.- Parameters:
type
- The type of the tool.- Returns:
this
.
-
function
The function definition. Required if type is "function".- Parameters:
function
- The function definition.- Returns:
this
.
-
build
-
toString
-