Update Entry Status is a WordPress ability from SureForms — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Update Entry Status

Destructive
SureForms Forms sureforms/update-entry-status

Mark one or more SureForms entries as read, unread, trashed, or restored, in a single call.

Requires the SureForms plugin on WordPress 6.9+ (the Abilities API is gated behind function_exists('wp_register_ability'), so it degrades gracefully on WP 6.4-6.8). Abilities only register when the 'srfm_abilities_api' option is enabled in SureForms' AI settings, and every ability requires the current user to have the 'manage_options' capability. Abilities that create or modify data additionally require the 'srfm_abilities_api_edit' option to not be explicitly disabled; abilities that permanently delete data additionally require 'srfm_abilities_api_delete' to not be explicitly disabled.

What it does

This ability applies a new status (read, unread, trash, or restore) to a batch of up to 50 entry IDs at once via the plugin's Entries::update_status() handler. Its MCP annotations mark it destructive and idempotent, with explicit instructions to confirm the target status with the user first, since trashing entries moves them toward permanent deletion. It's the bulk triage tool an AI assistant would use after list-entries surfaces a set of submissions that need the same status change.

See it in action

You ask your AI assistant

"Mark entries 12, 13, and 14 as read."

Inputs

Name Type Required Description
entry_ids array Yes Array of entry IDs to update (max 50).
status string Yes New status for the entries: read, unread, trash, or restore.

Returns

An object with a success boolean, an updated count, and an errors array of any per-entry failure messages.

Permission

Requires the 'manage_options' capability, the 'srfm_abilities_api' master option enabled, and the 'srfm_abilities_api_edit' gate option must not be explicitly disabled.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.