Create Post
inblog_create_postCreate an unpublished draft blog post with a required title and unique slug, plus optional HTML content and SEO metadata; publish it separately after creation.
Instructions
Create a new blog post. The post is created as a draft (unpublished). Use inblog_publish_post to publish it after creation.
Args: title (string, required): Post title slug (string, required): URL slug (e.g., 'my-first-post'). Must be unique. content_html (string, optional): Post body as HTML (TipTap editor format) meta_title (string, optional): SEO meta title. Falls back to title. meta_description (string, optional): SEO meta description. Recommended 150-160 chars. image (string URL, optional): Featured image URL. inblog auto-uploads to R2 storage. head_start_script (string, optional): JavaScript injected at start (e.g., hreflang script). json_ld_script (string, optional): Raw JSON-LD for BlogPosting schema (not a script tag). faq_json_ld_script (string, optional): Raw JSON-LD for FAQPage schema. Auto-wrapped in injection.
Returns: Created post with id, title, slug, and status.
Examples: Minimal: {title: "My Post", slug: "my-post"} Full: {title: "AI Guide", slug: "ai-guide", content_html: "Hello", meta_title: "AI Guide | My Blog", meta_description: "Learn about AI..."}
Errors: 401 (auth), 422 (validation — check title/slug), 500 (server)
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": {
"title": "<title>",
"slug": "<slug>"
},
"name": "inblog_create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | URL slug for the post (e.g., 'my-first-post'). Required. Must be unique. | |
| image | No | Featured image URL. inblog auto-uploads to R2 storage. | |
| title | Yes | Post title. Required. | |
| meta_title | No | SEO meta title. Falls back to title if omitted. | |
| content_html | No | Post body as HTML (TipTap editor format). Optional. | |
| json_ld_script | No | JSON-LD string for BlogPosting schema. Injected as <script type='application/ld+json'>. Pass the raw JSON object string, not a script tag. | |
| meta_description | No | SEO meta description. Recommended 150-160 chars. | |
| head_start_script | No | JavaScript injected at <head> start. Use for hreflang alternate links (e.g., hreflang injection script). | |
| faq_json_ld_script | No | JSON-LD string for FAQPage schema. Automatically wrapped in a <script type='application/ld+json'> injection and stored in head_end_script. Pass the raw JSON object string. |