Call
data class Call @JvmOverloads constructor(val id: String? = null, val tool: String, val args: String, val cacheControl: CacheControl? = null) : MessagePart.Tool, MessagePart.ResponsePart(source)
Represents a tool call message sent as a response.
Constructors
Link copied to clipboard
Convenience constructor that accepts a JsonObject and serialises it to args.
Properties
Link copied to clipboard
Lazily parsed JsonObject view of args.
Link copied to clipboard
Optional cache-control directive for the provider's prompt-caching feature.