Package-level declarations
Types
Represents content that can be processed or generated by Anthropic systems.
Represents an MCP server URL definition for Anthropic client integration. This class defines the properties needed for connecting to and configuring an MCP server.
Represents a message within the Anthropic LLM system. This data class encapsulates the role of the message and its associated content.
Represents a request for an Anthropic message-based interaction.
Represents the response structure from an Anthropic API call.
Represents the available service tiers for Anthropic API requests.
Represents a delta update from the Anthropic stream response.
Represents an error that occurred during Anthropic streaming response processing.
Represents a response from the Anthropic stream API.
Configuration for enabling Claude's extended thinking.
Represents a tool definition for Anthropic integration.
Represents a sealed interface for different tool choices in the Anthropic client API. This API is marked as internal and may change or be removed without notice.
Represents a configuration for tool usage in Anthropic client interactions.
Represents a schema definition for an Anthropic tool utilized in LLM clients. This data class defines the structure expected for tools, including the type of schema, properties, and required fields.
Represents the usage statistics of the Anthropic LLM API.
Represents a sealed interface for different types of document sources. It defines a contract for how documents can be represented or accessed.
Represents a source of an image. This sealed interface has two implementations: one wrapping a URL and another wrapping raw base64-encoded image data.
Represents a system message with designated text and type properties that can be utilized in anthropic system communication.