Tool

sealed class Tool(source)

Inheritors

Types

Link copied to clipboard
@JsonSerializable
data class BuiltIn(val type: ToolType, val name: ToolName? = null, val max_uses: Int? = null, val max_characters: Int? = null, val max_content_tokens: Int? = null, val allowed_domains: List<String>? = null, val blocked_domains: List<String>? = null, val user_location: UserLocation? = null, val response_inclusion: String? = null, val citations: Citations? = null, val use_cache: Boolean? = null, val configs: List<ToolConfig>? = null, val strict: Boolean? = null, val defer_loading: Boolean? = null, val allowed_callers: List<Caller>? = null, val cache_control: CacheControl? = null) : Tool
Link copied to clipboard
object Companion
Link copied to clipboard
@JsonSerializable
data class User(val name: ToolName, val input_schema: Map<String, Any>, val description: String? = null, val strict: Boolean? = null, val defer_loading: Boolean? = null, val allowed_callers: List<Caller>? = null, val eager_input_streaming: Boolean? = null, val input_examples: List<Map<String, Any>>? = null, val cache_control: CacheControl? = null, val type: String = "custom") : Tool