ToolUse

data class ToolUse(val value: SpanToolUseValue) : SpanMessageValue

Tool invocation message content

Constructors

Link copied to clipboard
constructor(value: SpanToolUseValue)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard