Package-level declarations

Types

Link copied to clipboard
open class ToolResultStringSerializer<T>(val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("ToolResultString", PrimitiveKind.STRING), toStringConverter: (T) -> String) : KSerializer<T>

A generic simple serializer for serializing objects of type T into their string representation using a custom converter.

Functions

Link copied to clipboard

Serializes a list of ToolDescriptor objects into a JSON string representation.