resultSerializer

Serializer responsible for encoding the result of the tool execution. This abstract property is used to define the specific KSerializer corresponding to the type of arguments expected by the tool.

The implementation must provide a concrete serializer for the TResult type parameter, which ensures proper serialization and deserialization of the tool arguments.