serviceTool

abstract fun serviceTool(obj: Any, vararg functions: KFunction<*>, block: BaseTool.() -> Unit = {})

Uses kotlin methods for implementing tool actions.