All Classes and Interfaces

Class
Description
The Anthropic API client.
Input messages.
Pre-built Anthropic Skills for document generation.
 
Chat completion request object.
 
Metadata about the request.
 
Configuration for the model's thinking mode.
 
Chat completion response object.
Container information for Skills execution context.
Check the Models overview and model comparison for additional details and options.
Citation response structure from Anthropic API.
Citations configuration for document ContentBlocks.
The content block of the message.
 
The source of the media content.
The ContentBlock type.
Content block delta event.
 
JSON content block delta.
Signature content block delta.
Text content block delta.
Thinking content block delta.
Content block start event.
 
Text content block.
Thinking content block.
Tool use content block.
Content block stop event.
Error event.
Error body.
The event type of the streamed chunk.
Metadata for a file generated by Claude Skills or uploaded via Files API.
Paginated list of files response from the Files API.
Message delta event.
 
Message delta usage.
Message start event.
Message stop event.
Ping event.
The role of the author of this message.
Represents a Claude Skill - either pre-built Anthropic skill or custom skill.
 
Container for Claude Skills in a chat completion request.
 
Types of Claude Skills.
 
The thinking type.
Tool description.
Base interface for tool choice options.
Any tool choice - the model will use any available tools.
Auto tool choice - the model will automatically decide whether to use tools.
None tool choice - the model will not be allowed to use tools.
Tool choice - the model will use the specified tool.
Special event used to aggregate multiple tool use events into a single event with list of aggregated ContentBlockToolUse.
Usage statistics.
Anthropic cache options for configuring prompt caching behavior.
 
Defines the caching strategy for Anthropic prompt caching.
Anthropic cache TTL (time-to-live) options for specifying how long cached prompts See the Anthropic documentation for more details: Anthropic Prompt Caching
Cache types supported by Anthropic's prompt caching feature.
The ChatModel implementation for the Anthropic service.
 
The options to be used when sending a chat request to the Anthropic API.
 
RateLimit implementation for OpenAI.
The AnthropicRuntimeHints class is responsible for registering runtime hints for Anthropic API classes.
Resolves cache eligibility for messages based on the provided AnthropicCacheOptions.
Represents a citation reference in a Claude response.
Types of citation locations based on document format.
Builder class for creating citation-enabled documents.
Builder class for CitationDocument.
Document types supported by Anthropic Citations API.
Helper utilities for working with Claude Skills responses and files.
Helper class to support streaming function calling and thinking events.