create_page_type
Define a reusable page type with a custom-field schema, enabling pages to carry structured fields. Specify name, slug, URL prefix, and field definitions.
Instructions
Create a page type (template) with a custom-field schema. Pages of this type carry these custom fields. Only call after the user confirms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Lucide icon name | |
| name | No | Display name | |
| slug | No | URL-safe slug, lowercase (e.g. 'post', 'case-study') | |
| fields | No | Custom-field schema for this page type | |
| urlPrefix | No | URL prefix (e.g. 'blog') | |
| description | No | ||
| allowChildren | No |