getSerializer

open override fun getSerializer(): KSerializer<ToolResult.Text>(source)

Retrieves the serializer instance for the implementing class.

Return

The serializer of type KSerializer specific to the class.