toolschema

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package toolschema classifies MCP tool schemas for shell-native use.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analysis

type Analysis struct {
	FlagSafe bool
	Reason   string
}

Analysis describes whether a JSON Schema can be represented truthfully as mcpx flags. Schemas that are valid JSON Schema but ambiguous as flags remain usable through positional or stdin JSON.

func Analyze

func Analyze(schema map[string]any) Analysis

Analyze classifies a decoded JSON Schema document.

func AnalyzeRaw

func AnalyzeRaw(raw json.RawMessage) Analysis

AnalyzeRaw classifies a raw JSON Schema document.

Jump to

Keyboard shortcuts

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