Add parameter
and description
creation from create_tool_from_function
into Tool
#9006
Labels
P2
Medium priority, add to the next sprint if no P1 available
Is your feature request related to a problem? Please describe.
The
create_tool_from_function
is very useful as well as thetool
decorator for not requiring users to have to specifydescription
andparameters
when converting a function into a tool.However, when working from a yaml file (like in dC) it's not easy to use either of these conveniences.
Describe the solution you'd like
So I was wondering if we could update
Tool
to optionally requiredescription
andparameters
and if they are missing we use the logic increate_tool_from_function
to auto fill the parameters and description.Describe alternatives you've considered
Leave as is and require users in Pipeline Studio to have to specify description and parameters when using Tool.
Additional context
What do you think @anakin87 since you've worked on this a lot?
The text was updated successfully, but these errors were encountered: