Tool Object
data class ToolObject(val objects: List<Any>, val namingStrategy: StringTransformer = StringTransformer.IDENTITY, val filter: (String) -> Boolean = { true })
Holds one or more annotated tool objects. Adds a naming strategy and a filter to the overall object.
Parameters
objects
the objects the tool annotations are on
naming Strategy
the naming strategy to use for the tool object's methods
filter
a filter to apply to the tool object's methods
Constructors
Link copied to clipboard
constructor(obj: Any, namingStrategy: StringTransformer = StringTransformer.IDENTITY, filter: (String) -> Boolean = { true })
constructor(objects: List<Any>, namingStrategy: StringTransformer = StringTransformer.IDENTITY, filter: (String) -> Boolean = { true })