Versions in this module Expand all Collapse all v0 v0.2.0 Jul 14, 2026 Changes in this version + type JSONSchema struct + AdditionalProperties any + Default any + Description string + Enum []string + Items *JSONSchema + Properties map[string]JSONSchema + Required []string + Type string + func FromMap(schemaMap map[string]any) JSONSchema + type Validator struct + func NewValidator() *Validator + func (v *Validator) RegisterSchema(toolName string, schema JSONSchema) + func (v *Validator) RegisterSchemaFromMap(toolName string, schemaMap map[string]any) error + func (v *Validator) Validate(toolName string, input map[string]any) (map[string]any, error)