Update SureForms Form 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 SureForms Form
DestructiveUpdate an existing SureForms form's title, status, fields, and/or metadata settings.
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 updates any combination of a form's title, status (publish/draft/private/trash — including untrashing by changing away from trash), field list, and metadata settings (confirmation message, compliance, styling, email notifications, restrictions, custom CSS) in a single call, reusing the same Field_Mapping engine as create-form to regenerate block content when formFields is supplied. Supplying formFields replaces ALL existing fields on the form rather than merging, which is why its MCP annotations mark it destructive and its instructions tell the assistant to confirm changes with the user first. The response lists exactly which top-level areas (status, title, metadata, fields) were changed.
See it in action
You ask your AI assistant
"Update form 12: change its status to publish and update the submit button text to 'Send Message'."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| form_id | integer | Yes | The ID of the form to update. |
| title | string | No | New title for the form. |
| status | string | No | New status for the form: publish, draft, private, or trash. |
| formFields | array | No | Array of form field definitions. Providing this replaces ALL existing fields. |
| formMetaData | object | No | Optional metadata overrides using the same schema as create-form (confirmation, compliance, styling, email notification, restrictions, custom CSS). |
Returns
An object with form_id, title, status, previous_status, edit_url, and an updated_fields array naming which areas changed.
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.
More SureForms abilities
Bulk Get Entry Details
Retrieve full submitted data for up to 50 SureForms entries in a single call.
Create SureForms Form
Create a new SureForms form from a title, an array of field definitions, and optional metadata.
Delete Entry
Permanently delete one or more SureForms submission entries.
Delete SureForms Form
Move a SureForms form to trash, or permanently delete it when force is set.
Duplicate SureForms Form
Clone an existing SureForms form, including its fields, metadata, and settings, as a new draft.
Get Entry Details
Retrieve the full submitted data for a single SureForms entry, with field labels resolved.