Create a post
create_postCreate a new CMSKite blog post, saved as a draft by default, with optional SEO fields, tags, and scheduling. Publish only when explicitly requested.
Instructions
Writes a new post. It is a draft unless you say otherwise, which is usually what you want: publishing is a decision the person should make. Requires the content.write grant, and content.publish as well if you send status "published".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seo | No | Search-engine fields. Omit any the person did not ask for. | |
| body | No | Markdown by default. | |
| slug | No | Derived from the title when omitted. | |
| tags | No | Tag slugs. Created if missing. | |
| title | Yes | ||
| status | No | Defaults to draft. | |
| excerpt | No | ||
| authorId | No | ||
| projectId | No | Which project to act in, as `prj_...`. Defaults to CMSKITE_PROJECT_ID. Call list_projects if you do not know it. | |
| bodyFormat | No | ||
| categoryId | No | ||
| publishedAt | No | ISO 8601. Only with status "published". | |
| scheduledAt | No | ISO 8601. Required with status "scheduled". |