I just released new version of my unofficial Kotlin multiplatform anthropic-sdk-kotlin, with refactored tool use / function calling, focused on easier dependency injection, so it is possible to provide for example db connection to AI agent - writing SQL queries in natural language, etc.
https://github.com/xemantic/anthropic-sdk-kotlin