Tools Catalog / WordPress tools / wp_update_post

wp_update_post tool reference for StifLi Flex MCP

Write
Group PostsCapability edit_posts

updates a post by ID using fields compatible with `wp_update_post()`. It can also change the featured image.

Description

updates a post by ID using fields compatible with `wp_update_post()`. It can also change the featured image.

What it is for

  • Editing title, content, status, excerpt, slug, author, or taxonomies.
  • Applying supervised bulk optimizations.

Example use case

refreshing an outdated article.

Sample prompt

Update post ID 245 with a clearer title, rewrite the introduction for 2026, and keep it in draft for review.

Sample response

{
  "tool": "wp_update_post",
  "status": "ok",
  "updated": true
}

What does wp_update_post do?

updates a post by ID using fields compatible with `wp_update_post()`. It can also change the featured image.

Does wp_update_post modify site data?

Yes. It is a write operation and can create, update, or delete data depending on arguments.

Which capability is commonly required?

It usually runs under controls compatible with edit_posts and the active MCP profile.

How should wp_update_post be used safely?

Enable write confirmations, test in staging first, and keep changelog/rollback enabled.