SpanMessageValue
Message content value - can be text, tool invocation, or tool result
Inheritors
Types
Functions
Casts this SpanMessageValue as a Text and retrieves its aws.sdk.kotlin.services.qconnect.model.SpanTextValue value. Throws an exception if the SpanMessageValue is not a Text.
Casts this SpanMessageValue as a Text and retrieves its aws.sdk.kotlin.services.qconnect.model.SpanTextValue value. Returns null if the SpanMessageValue is not a Text.
Casts this SpanMessageValue as a ToolResult and retrieves its aws.sdk.kotlin.services.qconnect.model.SpanToolResultValue value. Throws an exception if the SpanMessageValue is not a ToolResult.
Casts this SpanMessageValue as a ToolResult and retrieves its aws.sdk.kotlin.services.qconnect.model.SpanToolResultValue value. Returns null if the SpanMessageValue is not a ToolResult.
Casts this SpanMessageValue as a ToolUse and retrieves its aws.sdk.kotlin.services.qconnect.model.SpanToolUseValue value. Throws an exception if the SpanMessageValue is not a ToolUse.
Casts this SpanMessageValue as a ToolUse and retrieves its aws.sdk.kotlin.services.qconnect.model.SpanToolUseValue value. Returns null if the SpanMessageValue is not a ToolUse.