type-get-json-schema

Installation
SKILL.md

Type / Get Json Schema

Generates a JSON Schema for a given C# type name using reflection. Supports primitives, enums, arrays, generic collections, dictionaries, and complex objects. The type must be present in any loaded assembly. Use the full type name (e.g. 'UnityEngine.Vector3') for best results.

Inputs

  • typeName — full type name preferred (e.g. UnityEngine.Vector3, System.Collections.Generic.List<System.Int32>). Simple names work when unambiguous.
  • descriptionMode (default Ignore) — controls type-level description: Include keeps it on the target only, IncludeRecursively also keeps it inside $defs, Ignore strips all.
  • propertyDescriptionMode (default Ignore) — controls property/field/item description: Include keeps on the target's own properties/items only, IncludeRecursively also keeps inside $defs, Ignore strips all.
  • includeNestedTypes (default false) — when true, complex nested types are extracted into $defs and referenced via $ref. Useful for recursive or large types.
  • writeIndented (default false) — pretty-print the output JSON.

How to Call

Installs
1
GitHub Stars
4.6K
First Seen
Aug 21, 2026