ToolUse

@SerialName(value = "tool_use")
data class ToolUse(val id: String, val name: String, val input: JsonObject) : AnthropicResponseContent(source)

Represents the usage of a tool in a response from an Anthropic system.

Constructors

Link copied to clipboard
constructor(id: String, name: String, input: JsonObject)

Properties

Link copied to clipboard
val id: String

The unique identifier of the tool being used.

Link copied to clipboard

The input parameters provided to the tool, represented as a JSON object.

Link copied to clipboard

The name of the tool being used.