ToolAdditionBlock

A content block for adding a tool to the available tool set mid-conversation. Each block references a single tool via its tool field. Use within a system role message to make a tool available without re-sending the full tool configuration.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A reference to the tool to add to the available tool set.

Functions

Link copied to clipboard
inline fun copy(block: ToolAdditionBlock.Builder.() -> Unit = {}): ToolAdditionBlock
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String