30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

List Contact Forms

Contact Form 7 keeps each form as a post, addressed by an id you cannot see in the admin without opening the form. Everything else in this suite needs that id.

contact-form-7/list-forms is where you get it — along with the shortcode that embeds each form, how many fields it holds, and how many configuration errors Contact Form 7 has already flagged against it.

At a glance

Abilitycontact-form-7/list-forms
ToolsetContact Form 7 — toolset/contact-form-7
GroupContact Form 7 › Forms
RequiresContact Form 7, active on the site
Capabilitymanage_options, plus read_contact_forms
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

The shortcode is the part people actually need. A Contact Form 7 form does not render anywhere on its own; it appears only where its shortcode has been pasted. Listing forms gives you that string without opening the editor.

The error count is the other reason to start here. It is Contact Form 7’s own verdict on the form, and a non-zero count means something in the mail or the template is wrong even though the form saves and submits happily. Follow it with contact-form-7/validate-form-config for the detail.

Filter by title substring with search, and page through with limit and offset on sites carrying dozens of forms.

Input

NameTypeRequiredWhat it is
searchstringNoTitle substring filter.
limitintegerNo — defaults to 100, max 200How many forms to return.
offsetintegerNo — defaults to 0Where to start, for paging.

What comes back

NameTypeWhat it is
formsarrayOne row per form: id, title, shortcode, field count and error count.
countintegerHow many forms were returned.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Which contact forms does this site have, and are any of them misconfigured?

It resolves to one call:

{
  "ability": "contact-form-7/list-forms",
  "parameters": {}
}

Worth knowing

  • Read-only and cheap — the right first call in any Contact Form 7 workflow.
  • The error count is a count, not the errors. contact-form-7/validate-form-config returns what is actually wrong.
  • A form with no shortcode placed anywhere is invisible to visitors no matter how well it is configured.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading