Skip to content

/AWS1/CL_BDCINVKAGENTRTIMERSP

InvokeAgentRuntimeResponse

CONSTRUCTOR

IMPORTING

Required arguments:

iv_contenttype TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.

Optional arguments:

iv_runtimesessionid TYPE /AWS1/BDCSESSIONID /AWS1/BDCSESSIONID

The identifier of the runtime session.

iv_mcpsessionid TYPE /AWS1/BDCSESSIONID /AWS1/BDCSESSIONID

The identifier of the MCP session.

iv_mcpprotocolversion TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The version of the MCP protocol being used.

iv_traceid TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The trace identifier for request tracking.

iv_traceparent TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The parent trace information for distributed tracing.

iv_tracestate TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The trace state information for distributed tracing.

iv_baggage TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

Additional context information for distributed tracing.

iv_response TYPE /AWS1/BDCRESPONSESTREAM /AWS1/BDCRESPONSESTREAM

The response data from the agent runtime. The format of this data depends on the specific agent configuration and the requested accept type. For most agents, this is a JSON object containing the agent's response to the user's request.

iv_statuscode TYPE /AWS1/BDCHTTPRESPONSECODE /AWS1/BDCHTTPRESPONSECODE

The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.


Queryable Attributes

runtimeSessionId

The identifier of the runtime session.

Accessible with the following methods

Method Description
GET_RUNTIMESESSIONID() Getter for RUNTIMESESSIONID, with configurable default
ASK_RUNTIMESESSIONID() Getter for RUNTIMESESSIONID w/ exceptions if field has no va
HAS_RUNTIMESESSIONID() Determine if RUNTIMESESSIONID has a value

mcpSessionId

The identifier of the MCP session.

Accessible with the following methods

Method Description
GET_MCPSESSIONID() Getter for MCPSESSIONID, with configurable default
ASK_MCPSESSIONID() Getter for MCPSESSIONID w/ exceptions if field has no value
HAS_MCPSESSIONID() Determine if MCPSESSIONID has a value

mcpProtocolVersion

The version of the MCP protocol being used.

Accessible with the following methods

Method Description
GET_MCPPROTOCOLVERSION() Getter for MCPPROTOCOLVERSION, with configurable default
ASK_MCPPROTOCOLVERSION() Getter for MCPPROTOCOLVERSION w/ exceptions if field has no
HAS_MCPPROTOCOLVERSION() Determine if MCPPROTOCOLVERSION has a value

traceId

The trace identifier for request tracking.

Accessible with the following methods

Method Description
GET_TRACEID() Getter for TRACEID, with configurable default
ASK_TRACEID() Getter for TRACEID w/ exceptions if field has no value
HAS_TRACEID() Determine if TRACEID has a value

traceParent

The parent trace information for distributed tracing.

Accessible with the following methods

Method Description
GET_TRACEPARENT() Getter for TRACEPARENT, with configurable default
ASK_TRACEPARENT() Getter for TRACEPARENT w/ exceptions if field has no value
HAS_TRACEPARENT() Determine if TRACEPARENT has a value

traceState

The trace state information for distributed tracing.

Accessible with the following methods

Method Description
GET_TRACESTATE() Getter for TRACESTATE, with configurable default
ASK_TRACESTATE() Getter for TRACESTATE w/ exceptions if field has no value
HAS_TRACESTATE() Determine if TRACESTATE has a value

baggage

Additional context information for distributed tracing.

Accessible with the following methods

Method Description
GET_BAGGAGE() Getter for BAGGAGE, with configurable default
ASK_BAGGAGE() Getter for BAGGAGE w/ exceptions if field has no value
HAS_BAGGAGE() Determine if BAGGAGE has a value

contentType

The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.

Accessible with the following methods

Method Description
GET_CONTENTTYPE() Getter for CONTENTTYPE, with configurable default
ASK_CONTENTTYPE() Getter for CONTENTTYPE w/ exceptions if field has no value
HAS_CONTENTTYPE() Determine if CONTENTTYPE has a value

response

The response data from the agent runtime. The format of this data depends on the specific agent configuration and the requested accept type. For most agents, this is a JSON object containing the agent's response to the user's request.

Accessible with the following methods

Method Description
GET_RESPONSE() Getter for RESPONSE, with configurable default
ASK_RESPONSE() Getter for RESPONSE w/ exceptions if field has no value
HAS_RESPONSE() Determine if RESPONSE has a value

statusCode

The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.

Accessible with the following methods

Method Description
GET_STATUSCODE() Getter for STATUSCODE, with configurable default
ASK_STATUSCODE() Getter for STATUSCODE w/ exceptions if field has no value
HAS_STATUSCODE() Determine if STATUSCODE has a value