onInvoke

abstract fun onInvoke(block: suspend VoiceMailToolResponse.(JsonElement) -> Unit)

The block that will be executed when the tool is called.