rig-tool-macro
Rather than satisfy the rig Tool trait explicitly, you can annotate the tools
with the #[tool] attribute. This will automatically generate the Tool
implementation for you.
and then call it:
async
The current implementation supports standard types and non-nested inputs
Structs and nested stuff might come at some point, for now tools have to take top level inputs comprised of standard types
Adding the macros to impl methods is also not yet supported, those have to be
top-level functions due to the global generation of the Tool trait impl