Package-level declarations
Types
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR] )
Marks an API that exists only to make ADK usable from Java, such as the fluent builders. Kotlin callers should use the primary constructor and named arguments instead; opting in acknowledges that you specifically need the Java-facing surface. Java callers are unaffected, since the opt-in requirement is enforced only by the Kotlin compiler.
Link copied to clipboard
annotation class ExperimentalContextCachingFeature
Marks ADK's context caching APIs as experimental: their shape and semantics may change in future releases without prior notice.
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR] )
Link copied to clipboard
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.