sendToolResponse method
Sends tool responses for function calling to the server.
Implementation
Future<void> sendToolResponse(
List<FunctionResponse>? functionResponses) async {
_checkWsStatus();
_core.sendMessage(
core.LiveClientMessage(
toolResponse: core.LiveClientToolResponse(
functionResponses:
functionResponses?.map(toCoreFunctionResponse).toList(),
),
),
);
}