ToolUseBlock

A tool use content block. Contains information about a tool that the model is requesting be run., The model uses the result from the tool to generate a response.

Types

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

Properties

Link copied to clipboard

The input to pass to the tool.

Link copied to clipboard

The name of the tool that the model wants to use.

Link copied to clipboard

The ID for the tool request.

Functions

Link copied to clipboard
inline fun copy(block: ToolUseBlock.Builder.() -> Unit = {}): ToolUseBlock
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