Update Post
inblog_update_postUpdate an existing blog post by changing only the fields you specify, such as title, content, SEO metadata, or published status.
Instructions
Update an existing blog post. Only specified fields are changed.
Args: post_id (string, required): The post ID to update title (string, optional): New post title slug (string, optional): New URL slug content_html (string, optional): New post body as HTML meta_title (string, optional): New SEO meta title meta_description (string, optional): New SEO meta description image (string URL, optional): New featured image URL head_start_script (string, optional): New JavaScript injected at start (e.g., hreflang script) json_ld_script (string, optional): New raw JSON-LD for BlogPosting schema (not a script tag) faq_json_ld_script (string, optional): New raw JSON-LD for FAQPage schema. Auto-wrapped in injection. published (bool, optional): Set published status (true=publish, false=unpublish)
Returns: Updated post with id, title, slug, and changed fields.
Examples: Update title: {post_id: "abc123", title: "New Title"} Update SEO: {post_id: "abc123", meta_title: "SEO Title", meta_description: "..."} Unpublish: {post_id: "abc123", published: false}
Errors: 401 (auth), 404 (not found), 422 (validation), 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": {
"post_id": "<post_id>"
},
"name": "inblog_update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | New URL slug. | |
| image | No | New featured image URL. | |
| title | No | New post title. | |
| post_id | Yes | The post ID to update. | |
| published | No | Set published status. true = publish, false = unpublish. | |
| meta_title | No | New SEO meta title. | |
| content_html | No | New post body as HTML. | |
| json_ld_script | No | New JSON-LD string for BlogPosting schema. Pass the raw JSON object string, not a script tag. | |
| meta_description | No | New SEO meta description. | |
| head_start_script | No | New JavaScript injected at <head> start. Use for hreflang alternate links. | |
| faq_json_ld_script | No | New 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. |