withOnToolsChanged

fun withOnToolsChanged(onToolsChanged: suspend (List<Tool>) -> Unit): Client.Builder

Callback that is triggered when the server changes the list of tools. Useful for updating the tools when building a full client application.