generate_json_schema
Obtain the JSON Schema shared by generate_json output and create_document_from_json input, enabling validation and autocomplete when authoring JSON in your editor or pipeline.
Instructions
Returns the raw JSON Schema (Json.schema.json) that generate_json's output and create_document_from_json's input both conform to. Meant for a caller authoring JSON by hand or by a generation script who wants real schema validation/autocomplete in their own editor or pipeline, rather than reverse-engineering the shape from a generate_json example. This schema isn't validated against at runtime by the core library itself the way Xml.xsd is (JSON Schema has no .NET-built-in equivalent to System.Xml.Schema, so wiring that up would mean adding a runtime dependency - JsonSchema.Net - to every consumer of the core library just for this) - it's bundled here, in the Mcp tool specifically, purely to hand back on request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||