audit_meta_schema

command
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Command audit_meta_schema reports the size impact of each META_PARAM_SCHEMA mode on the meta-tool catalog.

It registers all base + enterprise meta-tools on an in-memory MCP server, captures the per-action route maps, and computes three candidate schema sizes per tool:

  • opaque: current production schema (action enum + params:any).
  • full: oneOf with per-action params reusing the InputSchema captured by RouteAction[T,R] (descriptions, jsonschema tags, $defs).
  • compact: oneOf with per-action params reduced to property names + types (descriptions stripped, additionalProperties:true, no required).

Usage: go run ./cmd/audit_meta_schema/

Jump to

Keyboard shortcuts

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