struct

Anthropic::ToolDefinition

Inherits Struct < Value < Object

Tool definition for the Anthropic Messages API.

Constructors

new(name : String, input_schema : JSON::Any, description : String | Nil = nil)
Source

Instance methods

description
Source
input_schema
Source
name
Source
to_json(json : JSON::Builder) : Nil
Source