JSONSerializable
Deprecated
Extending ToolResult.JSONSerializable<T> is no longer required (just use T type directly and mark it as `@Serializable`). Tool results are entirely handled by KotlinX Serialization.
Represents an interface that provides functionality for serializing implementing classes into JSON format using kotlinx.serialization library.
Parameters
T
The type of the implementing class, which must also be JSONSerializable.