/AWS1/CL_BDCHARNTOOLUSEBLOCK¶
A tool use request from the model.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/BDCHARNESSTOOLNAME /AWS1/BDCHARNESSTOOLNAME¶
The name of the tool to call.
iv_tooluseid TYPE /AWS1/BDCHARNESSTOOLUSEID /AWS1/BDCHARNESSTOOLUSEID¶
The unique ID of this tool use.
io_input TYPE REF TO /AWS1/CL_RT_DOCUMENT /AWS1/CL_RT_DOCUMENT¶
The JSON input to pass to the tool.
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¶
name¶
The name of the tool to call.
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 |
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 |
input¶
The JSON input to pass to the tool.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INPUT() |
Getter for INPUT, with configurable default |
ASK_INPUT() |
Getter for INPUT w/ exceptions if field has no value |
HAS_INPUT() |
Determine if INPUT 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 |