ReflectionFunctionIntrospector
Introspects Kotlin functions/methods using reflection to build a TypeGraph.
This introspector analyzes function parameters and their types to generate schema IR nodes suitable for tool/function schema generation.
Example
fun myFunction(name: String, age: Int = 0): String = "Hello"
val typeGraph = ReflectionFunctionIntrospector.introspect(::myFunction)Content copied to clipboard