public static class CohereToolCall.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CohereToolCall |
build() |
CohereToolCall.Builder |
copy(CohereToolCall model) |
CohereToolCall.Builder |
name(String name)
Name of the tool to call.
|
CohereToolCall.Builder |
parameters(Object parameters)
The parameters to use when invoking a tool.
|
public CohereToolCall.Builder name(String name)
Name of the tool to call.
name
- the value to setpublic CohereToolCall.Builder parameters(Object parameters)
The parameters to use when invoking a tool.
parameters
- the value to setpublic CohereToolCall build()
public CohereToolCall.Builder copy(CohereToolCall model)
Copyright © 2016–2024. All rights reserved.