# FunctionToolDemoAgent

object FunctionToolDemoAgent

Example agent demonstrating how to use KSP-generated Function Tools in the Kotlin ADK.

This example showcases:

1. Defining a service class with `@Tool` annotations.

2. Using the KSP-generated `generatedTools()` extension to equip an agent with these tools.

3. A zero-reflection approach to function tool execution.

## Properties

rootAgent
Link copied to clipboard
@JvmField
val rootAgent: LlmAgent