Package-level declarations

Types

Link copied to clipboard

Marks ADK's resumability APIs as experimental: their shape and semantics may change in future releases without prior notice.

Link copied to clipboard
annotation class Param(val description: String = "")

Annotates a parameter of a function annotated with Tool to provide explicit metadata.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Tool(val name: String = "", val description: String = "", val requireConfirmation: Boolean = false, val isLongRunning: Boolean = false)

Annotates a function to be exposed as an executable tool by the Google ADK Kotlin. KSP will generate a corresponding com.google.adk.kt.tools.FunctionTool wrapper for annotated functions.