get_schema
Retrieve the full schema of your Sanity content environment. Optionally get a simplified version or a specific type.
Instructions
Get the full schema of the current Sanity environment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lite | No | Get a simplified version of the schema without field details. Useful for quick overviews. | |
| type | No | Optional: Specific type name to fetch. If not provided, returns the full schema | |
| schemaId | No | Schema manifest ID from dataset manifest, not document type. Get from context or listSchemaIdsTool | sanity.workspace.schema.default |