File

data class File(val id: String, val mediaType: String, val url: String, val forModel: Boolean = false) : ToolCallContext.Update(source)

A file the call produced (a screenshot, an image), shown after the call; with forModel also sent to the model (see content).

Constructors

Link copied to clipboard
constructor(id: String, mediaType: String, url: String, forModel: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
val url: String