class

Autobot::Tools::PropertySchema

Inherits Reference < Object

Describes a single property in a tool's parameter schema.

Constructors

new(type : String = "string", description : String = "", enum_values : Nil | Array(String) = nil, minimum : Int64 | Nil = nil, maximum : Int64 | Nil = nil, min_length : Int32 | Nil = nil, max_length : Int32 | Nil = nil, default_value : Nil | String = nil, items : Nil | Autobot::Tools::PropertySchema = nil)
Source

Instance methods

default_value
Source
description
Source
enum_values
Source
items
Source
max_length
Source
maximum
Source
min_length
Source
minimum
Source
to_json_any
Source
type
Source
validate(value : JSON::Any, path : String) : Array(String)
Source