Gravity Forms Abilities

Introduction

Abilities are the actions Gravity Forms registers with the WordPress Abilities API: searching entries, creating forms, sending notifications, and more. Each ability has a unique name, a defined input and output, and a required capability.

AI clients can find and run abilities without knowing Gravity Forms. The Gravity Forms MCP server makes them available to AI assistants as tools.

Turning Abilities On

Gravity Forms abilities are off by default. Until an admin turns on Enable MCP in Forms → Settings → MCP, they aren’t registered at all. After that, each ability runs only once it’s enabled under Read-only Tools or Write Tools; otherwise it returns a permission error. This applies to MCP, PHP and the REST API. See the MCP Server Settings Reference.

Abilities

Abilities are grouped by what they work on. The Type badge shows what each ability does to your data; see Permissions.

Entries

AbilityWhat it doesCapabilityType
gravityforms/entries-getGet one entry by ID, with its field values and metadata.gravityforms_view_entriesReads
gravityforms/entries-searchSearch entries across one or more forms, with filters, sorting and paging.gravityforms_view_entriesReads
gravityforms/entries-countCount matching entries, per form or combined.gravityforms_view_entriesReads
gravityforms/entries-createCreate an entry without validation, notifications or feeds.gravityforms_edit_entriesWrites
gravityforms/entries-updateUpdate an entry’s field values or metadata.gravityforms_edit_entriesOverwrites
gravityforms/entries-deleteDelete entries.gravityforms_delete_entriesOverwrites

Forms

AbilityWhat it doesCapabilityType
gravityforms/forms-getGet one form by ID.gravityforms_edit_formsReads
gravityforms/forms-listList the forms on the site.gravityforms_edit_formsReads
gravityforms/forms-analyze-logicMap the conditional logic across a form.gravityforms_edit_formsReads
gravityforms/forms-createCreate a form.gravityforms_create_formWrites
gravityforms/forms-duplicateDuplicate a form.gravityforms_create_formWrites
gravityforms/forms-updateUpdate a form.gravityforms_edit_formsOverwrites
gravityforms/forms-deleteDelete a form.gravityforms_delete_formsOverwrites

Submissions

AbilityWhat it doesCapabilityType
gravityforms/submissions-validateValidate field values without creating an entry.gravityforms_edit_entriesReads
gravityforms/submissions-submitSubmit a form with full processing: validation, notifications, confirmations and feeds.gravityforms_edit_entriesWrites

Entry Notes

AbilityWhat it doesCapabilityType
gravityforms/notes-listList the notes on an entry.gravityforms_view_entry_notesReads
gravityforms/notes-addAdd a note to an entry.gravityforms_edit_entry_notesWrites

Notifications

AbilityWhat it doesCapabilityType
gravityforms/notifications-listList a form’s notifications.gravityforms_edit_formsReads
gravityforms/notifications-createCreate a notification.gravityforms_edit_formsWrites
gravityforms/notifications-sendSend notifications for an entry.gravityforms_edit_entriesWrites
gravityforms/notifications-updateUpdate a notification.gravityforms_edit_formsOverwrites
gravityforms/notifications-deleteDelete a notification.gravityforms_edit_formsOverwrites

Confirmations

AbilityWhat it doesCapabilityType
gravityforms/confirmations-listList a form’s confirmations.gravityforms_edit_formsReads
gravityforms/confirmations-createCreate a confirmation.gravityforms_edit_formsWrites
gravityforms/confirmations-updateUpdate a confirmation.gravityforms_edit_formsOverwrites
gravityforms/confirmations-deleteDelete a confirmation.gravityforms_edit_formsOverwrites

Feeds

AbilityWhat it doesCapabilityType
gravityforms/feeds-listList a form’s add-on feeds.gravityforms_edit_formsReads
gravityforms/feeds-createCreate an add-on feed.gravityforms_edit_formsWrites
gravityforms/feeds-updateUpdate an add-on feed.gravityforms_edit_formsOverwrites
gravityforms/feeds-deleteDelete an add-on feed.gravityforms_edit_formsOverwrites

System

AbilityWhat it doesCapabilityType
gravityforms/system-infoGet site, plugin and add-on details for diagnostics.gravityforms_view_settingsReads
gravityforms/system-field-typesList the registered field types.gravityforms_edit_formsReads

Permissions

Each ability runs as a WordPress user and checks that user’s capability before it does anything, for example, gravityforms_view_entries to search entries. See Gravity Forms Capabilities.

The Type badge in the Abilities tables shows what each ability does to your data.

BadgeWhat it does
ReadsReturns data and never changes anything.
WritesAdds data or runs an action without changing existing data, for example creating an entry or sending a notification.
OverwritesChanges or removes existing data, for example updating or deleting an entry.

Calling an Ability

Each ability takes its input as JSON and returns its output as JSON. To call one from PHP:

  1. Check that the Abilities API is available with class_exists( 'WP_Ability' ). It needs WordPress 6.9 or later.
  2. Look up the ability by name with wp_get_ability(). It returns null if the ability isn’t registered, for example when MCP is turned off.
  3. Run it with execute(), passing the input as an array. It returns the output, or a WP_Error if the ability is disabled, the input isn’t valid, or the user lacks the capability.

For example, to search the entries of form 5:

if ( class_exists( 'WP_Ability' ) ) {
	$ability = wp_get_ability( 'gravityforms/entries-search' );

	if ( $ability ) {
		$result = $ability->execute( array( 'form_ids' => 5 ) );

		if ( is_wp_error( $result ) ) {
			// The ability is disabled, the input was not valid, or the user lacks the capability.
		}
	}
}

The input is the same when you call an ability another way:

WayHow
MCPAI clients connected to the Gravity Forms MCP server call it as a tool. On the Gravity Forms endpoint, the tool name is the ability name with a hyphen in place of the slash, for example gravityforms-entries-search. On the shared WordPress endpoint, AI clients reach it through the WordPress discovery tools.
REST API/wp-json/wp-abilities/v1/abilities/gravityforms/entries-search/run. Reads abilities use GET, with the input as URL-encoded JSON in the input query parameter. Writes and Overwrites abilities use POST, with {"input": {...}} as the JSON body. Requests must be authenticated, for example with an application password.

For an ability’s full input and output schema, send an authenticated GET request to /wp-json/wp-abilities/v1/abilities/gravityforms/entries-search, with the ability’s name at the end. Disabled abilities aren’t listed.

See the WordPress Abilities API documentation for details.

Resources

MCP filters and MCP actions for the hooks that change how abilities are registered and run.

Since

Abilities were added in Gravity Forms 3.1.0.