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/
Click to show internal directories.
Click to hide internal directories.