anthropic_types/lib.rs
1// Anthropic API Types Library
2//
3// This crate provides type definitions for interacting with the Anthropic API
4// and is intended to be used by Theater actors that need to communicate with Claude.
5
6pub mod errors;
7pub mod messages;
8pub mod models;
9pub mod tool_choice;
10
11// Re-export main types for convenience
12pub use errors::AnthropicError;
13pub use messages::{
14 AnthropicRequest, AnthropicResponse, CompletionRequest, CompletionResponse, Message,
15 MessageContent, ResponseStatus, Usage,
16};
17pub use models::{ModelInfo, ModelPricing};
18pub use tool_choice::ToolChoice;