Anthropic Tools
Createdanthropics
Enables tool use and function calling with Anthropic models, facilitating interaction with external resources.
About
anthropic-tools is a deprecated repository providing a research preview of using tools/function calling with Anthropic models. It allows users to define and use tools with Claude through the `BaseTool` and `ToolUser` classes, utilizing a structured prompt format for easier prompt construction and parsing. This SDK is no longer maintained and users should refer to the official Anthropic API for production-ready tool use functionality.
Key Features
- Allows definition of custom tools via the BaseTool class.
- Facilitates handling of tool input and output messages with clear error reporting.
- Provides structured prompt format for easier interaction with Anthropic models.
- 299 GitHub stars
- Supports pre-built tools for common tasks like search or SQL.
- Enables automatic or manual execution modes for tool interaction.
Use Cases
- Implementing function calling for specific tasks, like time retrieval or mathematical calculations.
- Building agents that can perform actions based on Claude's reasoning.
- Connecting Claude to external data sources like databases or APIs.