finishTool

inline fun <T> finishTool(): Tool<T, T>(source)

Creates and returns a Tool instance with serializers and a descriptor for processing.

Return

A Tool instance where the input arguments and results share the same type T. The tool uses serializers and a descriptor based on the generic type T.