Type definitions and protocol structures for Claude API communication.
- Message types and request/response structures
- Content blocks (text, images, documents, tool use)
- Tool definitions and function calling specs
- Agent types (hooks, permissions, routing)
- Streaming event types
- Type-safe Rust definitions
cargo testcargo doc --open for full API documentation