@chinmaymk/aikit / AnthropicContentBlock
Type Alias: AnthropicContentBlock
AnthropicContentBlock = {
type
:"text"
;text
:string
; } | {type
:"image"
;source
: {type
:"base64"
;media_type
:string
;data
:string
; }; } | {type
:"tool_use"
;id
:string
;name
:string
;input
:DynamicParams
; } | {type
:"tool_result"
;tool_use_id
:string
;content
:string
; }
Defined in: providers/anthropic-transformers.ts:4