LiveServerMessage

@PublicPreviewAPI
public interfaceLiveServerMessage

Known direct subclasses
LiveServerContent

Incremental server update generated by the model in response to client messages.

LiveServerSetupComplete

The model is ready to receive client messages.

LiveServerToolCallCancellation

Notification for the client to cancel a previous function call fromLiveServerToolCall.

LiveServerToolCall

Request for the client to execute the providedfunctionCalls.


Parent interface for responses from the model during live interactions.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.