TypeGraphToFunctionCallingSchemaTransformer
class TypeGraphToFunctionCallingSchemaTransformer @JvmOverloads constructor(json: Json = Json { encodeDefaults = false }) : TypeGraphTransformer<FunctionCallingSchema> (source)
Transforms a TypeGraph into a FunctionCallingSchema for tool/function schema representation.
This transformer converts the IR representation of a function's parameters into a tool schema suitable for LLM function calling APIs.
All fields are marked as required in the schema. Nullable/optional fields are represented using union types that include "null" (e.g., "string", "null") instead of using the "nullable" flag.
See