Skip to content

/AWS1/CL_BDRTOOLRESULTBLOCK

A tool result block that contains the results for a tool request that the model previously made.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_tooluseid TYPE /AWS1/BDRTOOLUSEID /AWS1/BDRTOOLUSEID

The ID of the tool request that this is the result for.

it_content TYPE /AWS1/CL_BDRTOOLRSLTCONTBLOCK=>TT_TOOLRESULTCONTENTBLOCKS TT_TOOLRESULTCONTENTBLOCKS

The content for tool result content block.

Optional arguments:

iv_status TYPE /AWS1/BDRTOOLRESULTSTATUS /AWS1/BDRTOOLRESULTSTATUS

The status for the tool result content block.

This field is only supported Anthropic Claude 3 models.


Queryable Attributes

toolUseId

The ID of the tool request that this is the result for.

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

content

The content for tool result content block.

Accessible with the following methods

Method Description
GET_CONTENT() Getter for CONTENT, with configurable default
ASK_CONTENT() Getter for CONTENT w/ exceptions if field has no value
HAS_CONTENT() Determine if CONTENT has a value

status

The status for the tool result content block.

This field is only supported Anthropic Claude 3 models.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value