AnthropicSDKMessageResponse
Defined in: wrapper/src/anthropic-sdk.ts:79
Anthropic SDK message response.
Properties
Section titled “Properties”content
Section titled “content”content:
AnthropicContentBlock[]
Defined in: wrapper/src/anthropic-sdk.ts:83
id:
string
Defined in: wrapper/src/anthropic-sdk.ts:80
model:
string
Defined in: wrapper/src/anthropic-sdk.ts:84
role:
"assistant"
Defined in: wrapper/src/anthropic-sdk.ts:82
stop_reason
Section titled “stop_reason”stop_reason:
"end_turn"|"max_tokens"|"stop_sequence"|"tool_use"|null
Defined in: wrapper/src/anthropic-sdk.ts:85
stop_sequence
Section titled “stop_sequence”stop_sequence:
string|null
Defined in: wrapper/src/anthropic-sdk.ts:86
type:
"message"
Defined in: wrapper/src/anthropic-sdk.ts:81
usage:
AnthropicSDKUsage
Defined in: wrapper/src/anthropic-sdk.ts:87