A class that represents a tool that can be used in TinyAgent.
This class is used to help dynamically build tools for an agent,
by wrapping the handler function using [[buildTool]] to allow for
error handling, result formatting, and optional context passing.
A class that represents a tool that can be used in TinyAgent. This class is used to help dynamically build tools for an agent, by wrapping the handler function using [[buildTool]] to allow for error handling, result formatting, and optional context passing.