sendToolResponse

suspend fun sendToolResponse(functionResponses: List<FunctionResponse>)

Sends a tool response to the model after executing a tool call.

Parameters

functionResponses

A list of FunctionResponse to send.


suspend fun sendToolResponse(functionResponse: FunctionResponse)

Sends a tool response to the model after executing a tool call.

Parameters

functionResponse

A FunctionResponse to send.