onClientToolCall

fun onClientToolCall(player: ServerPlayer, toolName: String, isError: Boolean, summary: String?)(source)

Handles a tool call executed by a player's client MCP endpoint.