SpanMessageValue
Message content value - can be text, tool invocation, or tool result
Contents
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
- text
-
Text message content
Type: SpanTextValue object
Required: No
- toolResult
-
Tool result message content
Type: SpanToolResultValue object
Required: No
- toolUse
-
Tool invocation message content
Type: SpanToolUseValue object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: