Skip to content

/AWS1/CL_BDOTOOLDEFINITION

A tool definition for a gateway target. This structure defines a tool that the target exposes through the Model Context Protocol.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/BDOSTRING /AWS1/BDOSTRING

The name of the tool. This name identifies the tool in the Model Context Protocol.

iv_description TYPE /AWS1/BDOSTRING /AWS1/BDOSTRING

The description of the tool. This description provides information about the purpose and usage of the tool.

io_inputschema TYPE REF TO /AWS1/CL_BDOSCHEMADEFINITION /AWS1/CL_BDOSCHEMADEFINITION

The input schema for the tool. This schema defines the structure of the input that the tool accepts.

Optional arguments:

io_outputschema TYPE REF TO /AWS1/CL_BDOSCHEMADEFINITION /AWS1/CL_BDOSCHEMADEFINITION

The output schema for the tool. This schema defines the structure of the output that the tool produces.


Queryable Attributes

name

The name of the tool. This name identifies the tool in the Model Context Protocol.

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

description

The description of the tool. This description provides information about the purpose and usage of the tool.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

inputSchema

The input schema for the tool. This schema defines the structure of the input that the tool accepts.

Accessible with the following methods

Method Description
GET_INPUTSCHEMA() Getter for INPUTSCHEMA

outputSchema

The output schema for the tool. This schema defines the structure of the output that the tool produces.

Accessible with the following methods

Method Description
GET_OUTPUTSCHEMA() Getter for OUTPUTSCHEMA

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_TOOLDEFINITIONS

TYPES TT_TOOLDEFINITIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDOTOOLDEFINITION WITH DEFAULT KEY
.