asToolDescriptorDeserializer
Provides a custom deserializer for tools using the KSerializer
interface. Converts the current serializer into a specialized tool descriptor deserializer if the underlying descriptor has a primitive kind.
Serializes and deserializes specific data structures while restricting usage of unsupported operations, such as serialization.
This function is a utility to adapt serializers for internal tooling.
Return
A KSerializer
that acts as