class

Autobot::Tools::ToolSchema

Inherits Reference < Object

Describes a tool's parameter schema (JSON Schema subset).

Constructors

new(properties : Hash(String, Autobot::Tools::PropertySchema) = {} of String => PropertySchema, required : Array(String) = [] of String)
Source

Instance methods

properties
Source
required
Source
to_json_any
Source
validate(params : Hash(String, JSON::Any)) : Array(String)
Source