<<<<<<< HEAD ======= >>>>>>> 0a75ee1214dbcf88620b703810fab9e09d8c89fb

requestConfirmation

fun requestConfirmation(hint: String? = null, payload: Any? = null)

Requests confirmation for the current tool call. Only a tool call has a functionCallId, so this can only be called in a tool context.

Parameters

hint

A hint to the user on how to confirm the tool call.

payload

The payload used to confirm the tool call.

Throws