publish_content_type
Publish a content type in your Contentful space to make it available for use by editors and APIs.
Instructions
Publish a 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": {
"contentTypeId": "<contentTypeId>",
"spaceId": "<spaceId>",
"environmentId": "<environmentId>"
},
"name": "publish_content_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contentTypeId | Yes | ||
| 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 |