Trash WPForms Entry


Moves a WPForms entry to trash (recoverable), given its entry ID. To undo, use wpforms-restore-entry.

Also known as: remove a submission, delete a lead.

Property Value
Ability slug mosmcp/wpforms-trash-entry
Wire tool name mosmcp__wpforms-trash-entry
Category Forms & Leads (mosmcp-forms)
Plan Free

 

Required access

Requirement Value
Capability manage_options
Minimum default role Administrator
Requires Contact Form 7 (with Flamingo for stored submissions), WPForms or Gravity Forms — each form plugin's abilities appear only when that plugin is active
Annotations readOnly: false · destructive: true · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
id integer Yes — The WPForms entry ID (required).

 

Output schema

Field Type Required
id integer Yes
trashed boolean Yes

 

Example

Sample prompt
Move the spam entry 503 on my WPForms form to the trash.

Example request (json)

{
  "jsonrpc": "2.0",
  "id": 473,
  "method": "tools/call",
  "params": {
    "name": "mosmcp__wpforms-trash-entry",
    "arguments": {
      "input": {
        "id": 503
      }
    }
  }
}

Example response (json)

{
  "jsonrpc": "2.0",
  "id": 473,
  "result": {
    "isError": false,
    "structuredContent": {
      "id": 503,
      "trashed": true
    }
  }
}

 

Edge cases / errors

  • Recoverable: sets the entry status to trash; undo with mosmcp/wpforms-restore-entry.
  • id that does not exist → moca_entry_not_found error.
  • WPForms entry storage unavailable → mosmcp_feature_unavailable error.

 


<< Previous Next >>
Trash Gravity Forms Entry

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.