SpanMessageValue
Message content value - can be text, tool invocation, tool result, or reasoning
Contents
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
- reasoning
-
Model reasoning and it's internal decision making process
Type: SpanReasoningValue object
Required: No
- 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: