FunctionToolDemoAgent
object FunctionToolDemoAgent
Example agent demonstrating how to use KSP-generated Function Tools in the Kotlin ADK.
This example showcases:
Defining a service class with
@Toolannotations.Using the KSP-generated
generatedTools()extension to equip an agent with these tools.A zero-reflection approach to function tool execution.