type

open override val type: Tool.Type

What type of tool this is. This will always match this class's type. For example, for functions:

a.getToolType() == ToolType.FUNCTION
# implies
a is FunctionTool // instanceof in Java