create_entry
Create a content entry in Strapi by providing the content type ID and a JSON string with field values. Use the content type schema to identify required fields.
Instructions
Create a new content entry in the specified Strapi content type. Accepts a JSON string with field values that match the content type schema. Use get_content_type_schema first to understand which fields are required and their expected types before calling this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON string with the entry data. Must contain the fields defined in the content type schema. Example: '{"title": "My Article", "content": "Hello world", "slug": "my-article"}' | |
| locale | No | Locale for the entry if i18n is enabled (e.g., 'en', 'fr') | |
| status | No | Initial publication status: 'draft' or 'published' (v5 only) | |
| content_type | Yes | Plural API ID of the content type (e.g., 'articles', 'products') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |