Skip to content

@chinmaymk/aikit v0.0.40


@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

Released under the MIT License.