People do not refer to forms by id. They say “the contact form”, or they paste a shortcode out of a page and ask why it stopped working.
contact-form-7/find-form turns either of those into a form summary — match on the exact title, or on the hash that appears inside the shortcode.
At a glance
| Ability | contact-form-7/find-form |
| Toolset | Contact Form 7 — toolset/contact-form-7 |
| Group | Contact Form 7 › Forms |
| Requires | Contact Form 7, active on the site |
| Capability | manage_options, plus read_contact_forms |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
How it works
The hash is the long identifier in [contact-form-7 id="a1b2c3" title="Contact form 1"]. It is stable across title changes, which makes it the more reliable of the two handles when you have it.
Title matching is exact, not fuzzy. If you only have a partial title, use contact-form-7/list-forms with its search filter instead.
A miss returns null rather than an error — nothing was found is a legitimate answer to a lookup.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
title | string | One of title or hash | Exact form title. |
hash | string | One of title or hash | Form hash, as it appears in the shortcode. |
What comes back
| Name | Type | What it is |
|---|---|---|
form | object or null | The matching form summary, or null when nothing matched. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present 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:
Someone pasted [contact-form-7 id=”a1b2c3″] — which form is that?
It resolves to one call:
{
"ability": "contact-form-7/find-form",
"parameters": {
"hash": "a1b2c3"
}
}Worth knowing
- Title matching is exact. For partial matches use the
searchfilter oncontact-form-7/list-forms. - The hash survives a title change; the title does not survive anything.
- A null result means no match, not a failure.
Related abilities
- List Contact Forms — browse or search by substring
- Get Contact Form — read the whole form once you have the id
- Get Contact Form Shortcode — the other direction — id to shortcode
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category