Skip to content

/AWS1/CL_BDOHARNESSHOOK

A lifecycle hook configuration. Specify one hook type.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_beforeinvocation TYPE REF TO /AWS1/CL_BDOHARNBEFOREINVCHOOK /AWS1/CL_BDOHARNBEFOREINVCHOOK

A hook that runs before an invocation begins.

io_afterinvocation TYPE REF TO /AWS1/CL_BDOHARNAFTERINVCHOOK /AWS1/CL_BDOHARNAFTERINVCHOOK

A hook that runs after an invocation completes.

io_beforetoolcall TYPE REF TO /AWS1/CL_BDOHARNBFRTOLCALLHOOK /AWS1/CL_BDOHARNBFRTOLCALLHOOK

A hook that runs before the agent calls a tool.

io_aftertoolcall TYPE REF TO /AWS1/CL_BDOHARNAFRTOLCALLHOOK /AWS1/CL_BDOHARNAFRTOLCALLHOOK

A hook that runs after a tool call completes.


Queryable Attributes

beforeInvocation

A hook that runs before an invocation begins.

Accessible with the following methods

Method Description
GET_BEFOREINVOCATION() Getter for BEFOREINVOCATION

afterInvocation

A hook that runs after an invocation completes.

Accessible with the following methods

Method Description
GET_AFTERINVOCATION() Getter for AFTERINVOCATION

beforeToolCall

A hook that runs before the agent calls a tool.

Accessible with the following methods

Method Description
GET_BEFORETOOLCALL() Getter for BEFORETOOLCALL

afterToolCall

A hook that runs after a tool call completes.

Accessible with the following methods

Method Description
GET_AFTERTOOLCALL() Getter for AFTERTOOLCALL

Public Local Types In This Class

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

TT_HARNESSHOOKS

TYPES TT_HARNESSHOOKS TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDOHARNESSHOOK WITH DEFAULT KEY
.