← Abilities Directory

WS Form Abilities

WS Form exposes its form builder as abilities, letting an AI assistant list, create, read, update, clone, publish, delete, and restore forms, plus add or delete individual fields and pull view/submission statistics — all through a JSON-based form definition.

13

Total

5

Read

8

Write

Requires the WS Form plugin active on WordPress 6.9+ (abilities only register when the WP_Ability class exists). Updating forms and adding/deleting fields additionally require the 'Allow Updates' setting to be enabled in WS Form > Settings, and deleting forms requires the separate 'Allow Deletes' setting; each ability also checks the current user's WS Form capabilities (e.g. read_form, edit_form, create_form, delete_form).

Add field

Write

ws-form/field-add

Add a new field to an existing form's section.

Clone form

Write

ws-form/form-clone

Clone an existing form into a new draft copy.

Create form from a description

Write

ws-form/form-create-json

Create a brand-new WS Form from a JSON definition generated from a natural-language description.

Delete field

Destructive

ws-form/field-delete

Permanently delete a field from a form.

Delete form

Destructive

ws-form/form-delete

Trash or permanently delete a form by ID.

Get form block markup

Read-only

ws-form/form-block

Get the Gutenberg block markup for a form by ID.

Get form in JSON format

Read-only

ws-form/form-get-json

Retrieve a form's full definition as JSON by its numeric ID.

Get form shortcode

Read-only

ws-form/form-shortcode

Get the WS Form shortcode for a form by ID.

Get statistical data about a form by ID

Read-only

ws-form/form-stats

Get view, save, and submission statistics for a form, optionally scoped to a date range.

List forms

Read-only

ws-form/forms

List all forms in WS Form, optionally filtered to only published ones and sorted by label or ID.

Publish form

Write

ws-form/form-publish

Publish a draft form by ID so it can be used on a live page.

Restore form

Write

ws-form/form-restore

Restore a trashed form by ID.

Update a form from a JSON string

Write

ws-form/form-update-json

Update an existing form using JSON, keeping the same groups, sections, and fields structure returned by form-get-json.

More Forms plugins with abilities

All Forms →

Use WS Form's abilities with AI

Install Easy MCP AI on your WordPress site and any AI assistant can call these abilities in minutes.

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.