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