Skip to content

/AWS1/CL_BDCHARNTOOLUSEBLKSTRT

Start payload for a tool use content block.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_tooluseid TYPE /AWS1/BDCHARNESSTOOLUSEID /AWS1/BDCHARNESSTOOLUSEID

The unique ID of this tool use.

iv_name TYPE /AWS1/BDCHARNESSTOOLNAME /AWS1/BDCHARNESSTOOLNAME

The name of the tool being called.

Optional arguments:

iv_type TYPE /AWS1/BDCHARNESSTOOLUSETYPE /AWS1/BDCHARNESSTOOLUSETYPE

The type of tool use.

iv_servername TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The name of the MCP server providing this tool.


Queryable Attributes

toolUseId

The unique ID of this tool use.

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 being called.

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 of tool use.

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

serverName

The name of the MCP server providing this tool.

Accessible with the following methods

Method Description
GET_SERVERNAME() Getter for SERVERNAME, with configurable default
ASK_SERVERNAME() Getter for SERVERNAME w/ exceptions if field has no value
HAS_SERVERNAME() Determine if SERVERNAME has a value