/AWS1/CL_BDRTOOLCHOICE¶
Determines which tools the model should request in a call to Converse or ConverseStream. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
io_auto TYPE REF TO /AWS1/CL_BDRAUTOTOOLCHOICE /AWS1/CL_BDRAUTOTOOLCHOICE¶
(Default). The Model automatically decides if a tool should be called or whether to generate text instead.
io_any TYPE REF TO /AWS1/CL_BDRANYTOOLCHOICE /AWS1/CL_BDRANYTOOLCHOICE¶
The model must request at least one tool (no text is generated).
io_tool TYPE REF TO /AWS1/CL_BDRSPECIFICTOOLCHOICE /AWS1/CL_BDRSPECIFICTOOLCHOICE¶
The Model must request the specified tool. Only supported by Anthropic Claude 3 and Amazon Nova models.
Queryable Attributes¶
auto¶
(Default). The Model automatically decides if a tool should be called or whether to generate text instead.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AUTO() |
Getter for AUTO |
any¶
The model must request at least one tool (no text is generated).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ANY() |
Getter for ANY |
tool¶
The Model must request the specified tool. Only supported by Anthropic Claude 3 and Amazon Nova models.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TOOL() |
Getter for TOOL |