Documentation
¶
Overview ¶
Package jsonschema compiles native MCP JSON schemas from canonical type and resource owners. It never inspects invocation values or executes user code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reflector ¶
type Reflector struct {
Annotate func(string, reflect.StructField) (string, any)
}
Reflector uses X's encoding/json field projection; annotations cannot change selection, Go identity, JSON names, or source types.
type ResourceCompiler ¶
ResourceCompiler validates and bundles authored JSON Schema documents. All external references pass through FS; there is no HTTP or OS fallback loader.
func (ResourceCompiler) Compile ¶
func (c ResourceCompiler) Compile(request ResourceRequest) (*Bundle, error)
Click to show internal directories.
Click to hide internal directories.