Skip to content

/AWS1/CL_BDOTOOLSDEFINITION

The tools definition for an MCP descriptor. Contains the protocol version and inline content describing the available tools.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_protocolversion TYPE /AWS1/BDOSCHEMAVERSION /AWS1/BDOSCHEMAVERSION

The protocol version of the tools definition based on the MCP protocol specification. If not specified, the version is auto-detected from the content.

iv_inlinecontent TYPE /AWS1/BDOINLINECONTENT /AWS1/BDOINLINECONTENT

The JSON content containing the MCP tools definition, conforming to the MCP protocol specification.


Queryable Attributes

protocolVersion

The protocol version of the tools definition based on the MCP protocol specification. If not specified, the version is auto-detected from the content.

Accessible with the following methods

Method Description
GET_PROTOCOLVERSION() Getter for PROTOCOLVERSION, with configurable default
ASK_PROTOCOLVERSION() Getter for PROTOCOLVERSION w/ exceptions if field has no val
HAS_PROTOCOLVERSION() Determine if PROTOCOLVERSION has a value

inlineContent

The JSON content containing the MCP tools definition, conforming to the MCP protocol specification.

Accessible with the following methods

Method Description
GET_INLINECONTENT() Getter for INLINECONTENT, with configurable default
ASK_INLINECONTENT() Getter for INLINECONTENT w/ exceptions if field has no value
HAS_INLINECONTENT() Determine if INLINECONTENT has a value