Tool

@SerialName(value = "tool")
class Tool(val content: Content, val toolCallId: String) : OpenAIMessage(source)

Constructors

Link copied to clipboard
constructor(content: Content, toolCallId: String)

Properties

Link copied to clipboard
open override val content: Content

The contents of the tool message. For tool messages, only type text is supported.

Link copied to clipboard

Tool call that this message is responding to.