Skip to content

/AWS1/CL_BDRTOOLUSEBLOCKSTART

The start of a tool use block. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_tooluseid TYPE /AWS1/BDRTOOLUSEID /AWS1/BDRTOOLUSEID

The ID for the tool request.

iv_name TYPE /AWS1/BDRTOOLNAME /AWS1/BDRTOOLNAME

The name of the tool that the model is requesting to use.

Optional arguments:

iv_type TYPE /AWS1/BDRTOOLUSETYPE /AWS1/BDRTOOLUSETYPE

The type for the tool request.


Queryable Attributes

toolUseId

The ID for the tool request.

Accessible with the following methods

Method Description
GET_TOOLUSEID() Getter for TOOLUSEID, with configurable default
ASK_TOOLUSEID() Getter for TOOLUSEID w/ exceptions if field has no value
HAS_TOOLUSEID() Determine if TOOLUSEID has a value

name

The name of the tool that the model is requesting to use.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

type

The type for the tool request.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value