Available Tools
create_content
Create new content items
update_content
Update existing content
Validation
All content is validated against the content type’s JSON schema before creation or update. This ensures:- Required fields are present
- Field types match the schema
- String lengths respect
maxLengthconstraints - Component types match allowed definitions
- Asset references point to existing assets
Best Practices
Before Creating Content
- Fetch the schema first: Always use
get_content_typeto understand the structure - Validate asset IDs: Use
search_assetsto verify assets exist - Check length limits: Review
maxLengthconstraints in the schema - Use correct component types: Match type names exactly as defined
Content Structure
- Include all required fields: Check the schema’s
requiredarrays - Follow component patterns: Each component needs a
typefield - Reference assets by ID: Use
{ "id": "asset-xxx" }format