eliza
eliza copied to clipboard
Be able to use tool calling when calling generateObjectV2
Is your feature request related to a problem? Please describe.
Some plugins will have actions that require several tools to be called at once (e.g an onchain plugin that would have tools for preparing a tx for specific protocols and then sending those)
The problem is that right now you can't pass a set of tools to generateObjectV2
so you can't leverage the tool calling functionality of the models.
Describe the solution you'd like
Be able to leverage tool calling in the generateObjectV2
method. aiGenerateObject
already allows that.
Describe alternatives you've considered
Creating a new function that allows passing the tools parameter.