startingIn

open override fun startingIn(state: S): Tool

Create a version of this tool that starts in the specified state. Useful when the starting state depends on runtime context.