get_content_type
Fetch a content type's schema—fields, types, required values—before creating or updating content. Ensures the exact JSON shape for write operations.
Instructions
Get one content type's definition: name, kind, displayName, schemaType and its fields (name, type, required, options, allowed blocks of a content area…). Each field includes valueFormat + valueExample — the exact JSON shape create_content/update_content expect. Call this before writing content of a type. Returns null for an unknown name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Content type name, PascalCase, e.g. 'BlogPost' (as in a content item's `type`). | |
| site | No | Site slug or id to act in (multisite). Omit to use this server's default site. Call list_sites to see what exists — an empty tree or search usually means the wrong site, not missing content. |