registerRollback

fun RollbackToolRegistry.Builder.registerRollback(toolFunction: KFunction<*>, rollbackToolFunction: KFunction<*>)(source)

Registers a relationship between a tool and its corresponding rollback tool using the specified functions.

Parameters

toolFunction

The function representing the primary tool to register.

rollbackToolFunction

The function representing the rollback counterpart to the primary tool.