We use the term “handler” interchangeably with “tool calling.” While “tool calling” is sometimes used to refer
to the invocation of a single function. It contains the logic for managing particular operations, playing a
key role in organizing and carrying out tasks.With the BaseHandler from superagentx.handler.base, you can create your own custom
handlers.Additionally, we also provide pre-built handlers for various other
services and libraries.
A tool is a method or function that performs a specific action within a larger system. In this context,
tools are asynchronous functions that handle specific tasks, like fetching data from external APIs or
performing calculations. The @tool decorator marks these methods as tools that can be invoked by the system.