Anthropic Tools

•
418
•

Enables tool use and function calling with Anthropic models, facilitating interaction with external resources.

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.

Características Principales

01Allows definition of custom tools via the BaseTool class.
02Facilitates handling of tool input and output messages with clear error reporting.
03Provides structured prompt format for easier interaction with Anthropic models.
04299 GitHub stars
05Supports pre-built tools for common tasks like search or SQL.
06Enables automatic or manual execution modes for tool interaction.

Casos de Uso

01Implementing function calling for specific tasks, like time retrieval or mathematical calculations.
02Building agents that can perform actions based on Claude's reasoning.
03Connecting Claude to external data sources like databases or APIs.