Updates existing content while maintaining schema compliance.
When updating content created with a previous version of a content type, the tool validates against the original schema version (specified in the content’s typeVersion field).
Parameters
| Parameter | Type | Required | Description |
|---|
projectId | string | No | Project ID (uses session default) |
contentId | string | Yes | ID of content to update |
name | string | No | Updated name |
description | string | No | Updated description |
content | object | No | Updated content data |
tags | string[] | No | Updated tags |
metadata | object | No | Updated metadata |
Response
| Field | Type | Description |
|---|
id | string | Unique identifier of the updated content |
status | string | Content status after update |
updatedAt | string | ISO 8601 update timestamp |
validationWarnings | string[] | Any validation warnings (optional) |
Example
Request
Update the title and add a new component:
Response
Usage
Update Name Only
Update Content Structure
Partial Updates
You only need to include the fields you want to update. Omitted fields remain unchanged:
When updating the content field, you must provide the complete content structure. Partial content updates (updating only some fields within content) are not supported. Always fetch the current content first, modify it, then send the complete structure.