Schema summary for a document type
get_schemaSummarises the schema of a Bedrock document type: required fields, valid format_version values, and the name, type and description of every field on that node. It does not return the raw schema — that is far too large. When a node has many fields the summary narrows and says what was shortened in the truncated field; use path to descend into a child node for full detail. Call this before writing a file to learn which fields are required and what format_version must be.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to descend into the schema, separated by "/". For example "minecraft:entity" or "minecraft:entity/components/minecraft:health". Omit it to get the root summary. An unresolvable path returns an error that lists the valid fields on that node. | |
| type | Yes | Document type, e.g. "behavior/blocks", "behavior/entities", "behavior/spawn_rules". The full list is in the get_version_info output. | |
| version | No | Game version under data/, e.g. 1.26.40 or 1.26.40.5. Defaults to the newest available version. Marketing numbers (26.40) are rejected. |