Post Toolswordpress_update_post
Post Tools

wordpress_update_post

Update a WordPress post using Respira's duplicate-first safety workflow.

wordpress_update_post

Update a post. Respira automatically creates a duplicate for safety.

Parameters

ParameterTypeRequiredDescription
idnumberYesPost ID (Respira automatically creates a duplicate if editing an original post)
titlestringNoNew post title
contentstringNoNew post content (HTML)
statusstringNoPost status (publish, draft, pending)
customCssstringNoCustom CSS for the post
metaobjectNoPost meta data
forcebooleanNo⚠️ Force direct edit (not recommended)

Response

{
  "id": 202,
  "status": "draft",
  "duplicate_created": true,
  "duplicate_id": 202,
  "original_id": 101,
  "approval_url": "https://yoursite.com/wp-admin/admin.php?page=respira-approvals"
}

Example Prompts

  • "Update my latest blog post title"
  • "Set post 101 to draft"
  • "Update post 101 content with the new announcement"

Notes

  • Always creates a duplicate unless force: true and direct editing is enabled
Was this page helpful?
Built with Documentation.AI

Last updated Dec 15, 2025