Get page type
get_page_typeRetrieve a page type’s full custom-field schema—field keys, types, options, and relation details—before writing customFields to a page; use it when page type listings omit field definitions.
Instructions
Get one page type with its full custom-field schema - the field keys, types and options that pages of this type carry in customFields, and for relation fields their relationTo / relationType. Use before writing customFields on a page, because list_page_types does not return the fields.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pageTypeId": "<pageTypeId>"
},
"name": "get_page_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageTypeId | Yes | Page type id (from list_page_types) |