Restore WPForms Entry
Restores a WPForms entry from trash, given its entry ID.
Also known as: undelete a submission, recover a lead.
| Property | Value |
|---|---|
| Ability slug | mosmcp/wpforms-restore-entry |
| Wire tool name | mosmcp__wpforms-restore-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: false · 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 |
| restored | boolean | Yes |
Example
Sample prompt
Restore WPForms entry 503 from the trash, it wasn't spam after all.
Example request (json)
{
"jsonrpc": "2.0",
"id": 471,
"method": "tools/call",
"params": {
"name": "mosmcp__wpforms-restore-entry",
"arguments": {
"input": {
"id": 503
}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 471,
"result": {
"isError": false,
"structuredContent": {
"id": 503,
"restored": true
}
}
}
Edge cases / errors
- id that does not exist → moca_entry_not_found error.
- Clears the entry status regardless of its current value, so calling it on an entry that was never trashed still reports restored: true.
- WPForms entry storage unavailable → mosmcp_feature_unavailable error.
| << Previous | Next >> |
|---|---|
| Restore Gravity Forms Entry from Trash | 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.