validate

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package validate implements allowlist-only payload validation: recursively canonicalize known encodings, then check the decoded value against a strict per-field schema. No denylist keyword matching anywhere in this file - that approach loses to encoding tricks by construction, per the plan's Intent Integrity Plane.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(schema map[string]registry.FieldSpec, args map[string]any) (map[string]any, error)

Validate canonicalizes and checks a tool call's arguments against its registered schema. additionalProperties is implicitly false: any argument name not in the schema is rejected outright, never passed through.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL