create_content_type
Create a structured content type in a Contentful space by defining its fields, including field types, validation, and localization settings.
Instructions
Create a new content type
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": {
"name": "<name>",
"fields": "<fields>",
"spaceId": "<spaceId>",
"environmentId": "<environmentId>"
},
"name": "create_content_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fields | Yes | Array of field definitions for the content type | |
| description | No | ||
| displayField | No | ||
| spaceId | Yes | The ID of the Contentful space. This must be the space's ID, not its name, ask for this ID if it's unclear. | |
| environmentId | Yes | The ID of the environment within the space, by default this will be called Master | master |