Skip to content

/AWS1/CL_BDNTOOLSPEC

Specification for a tool that acts can invoke, including its name, description, and input schema.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/BDNTOOLNAME /AWS1/BDNTOOLNAME

The unique name of the tool that acts will use to invoke it.

iv_description TYPE /AWS1/BDNTOOLDESCRIPTION /AWS1/BDNTOOLDESCRIPTION

A description of what the tool does and how it should be used.

io_inputschema TYPE REF TO /AWS1/CL_BDNTOOLINPUTSCHEMA /AWS1/CL_BDNTOOLINPUTSCHEMA

The JSON schema that defines the expected input format for the tool.


Queryable Attributes

name

The unique name of the tool that acts will use to invoke it.

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

A description of what the tool does and how it should be used.

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 JSON schema that defines the expected input format for the tool.

Accessible with the following methods

Method Description
GET_INPUTSCHEMA() Getter for INPUTSCHEMA

Public Local Types In This Class

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

TT_TOOLSPECS

TYPES TT_TOOLSPECS TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDNTOOLSPEC WITH DEFAULT KEY
.