FunctionOptionalproperties: Partial<Omit<ListenerProperties, "callback" | "options">> = {}Listener configuration. Values
will be merged with the detected defaults. If properties.type is omitted, the name of the method will be used
to derive the event name from DefaultEventName.
Method decorator that registers the decorated method as a tool behavior, to be attached later via attachListenersAndBehaviors.
behavior