Tool Object
data class ToolObject(val obj: Any, val namingStrategy: StringTransformer = StringTransformer.IDENTITY, val filter: (String) -> Boolean = { true })
Holds an annotated tool object. Adds a naming strategy and a filter to the object.
Parameters
obj
the object 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 })