Result

@Serializable
data class Result(val id: String?, val tool: String, val content: String) : Message.Tool, Message.Request(source)

Represents the result of a tool call sent as a request.

Constructors

Link copied to clipboard
constructor(id: String?, tool: String, content: String)

Properties

Link copied to clipboard
open override val content: String

The content of the tool result.

Link copied to clipboard
open override val id: String?

The unique identifier of the tool result.

Link copied to clipboard
open override val role: Message.Role

The role associated with the message.

Link copied to clipboard
open override val tool: String

The name of the tool that provided the result.