mcpschema

package
v1.0.63 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mcpschema owns the bounded, fail-closed contract for validating arguments against remotely discovered MCP input schemas.

Index

Constants

View Source
const ValidationEvidence = "fresh_core_subset_snapshot"

Variables

This section is empty.

Functions

func Digest

func Digest(schema map[string]any) (string, error)

Digest returns the SHA-256 digest of the deterministic JSON encoding of a decoded input schema snapshot.

func ValidateInputSchema

func ValidateInputSchema(params map[string]any, schema map[string]any) error

ValidateInputSchema validates a decoded JSON object against the deliberately narrow remote MCP schema subset. Unknown keywords and malformed supported keywords fail closed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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