toolResponse property

ToolResponse? get toolResponse

The tool response content if it is a tool response part, otherwise null.

Implementation

ToolResponse? get toolResponse => toolResponsePart?.toolResponse;