Parameter Attribute
The Parameter attribute is to be used alongside the Tool attribute and is used to define a function's parameters, including the parameter's name, description, and optional list of enums.
When implementing a tool with parameters, import the Indie.Attributes and use the Tool Attribute.
A tool with a single parameter.
Or with a tool with multiple parameters.
The Parameter attribute adds extra context to tools with parameters, so the model can be informed of what arguments to use when deciding to call on one of these functions.
Last updated