Output

data object Output

A typesafe tool response lens. Use the extension functions below to create a lens for a specific type.

Functions

Link copied to clipboard
inline fun <T : Any> Tool.Output.auto(example: T): ToolOutputLensBuilder<T>

Auto-marshalled lens for a tool output. You will need Kotlin reflection on the classpath for this to work.