contact-form-7/update-messages takes a map of message slug to new text and changes only those. Everything you do not name keeps its current value.
A slug Contact Form 7 does not recognise is rejected, not quietly dropped — which matters, because a typo’d slug written silently would look like a successful change that never appears on the front end.
At a glance
| Ability | contact-form-7/update-messages |
| Toolset | Contact Form 7 — toolset/contact-form-7 |
| Group | Contact Form 7 › Validation Messages |
| Requires | Contact Form 7, active on the site |
| Capability | manage_options, plus edit_contact_forms |
| Safety | Writes data |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
How it works
Get the valid slugs from contact-form-7/get-messages. They are Contact Form 7’s own set and cannot be extended.
The write is idempotent: sending the same text twice leaves the same messages, so a retry is safe.
Setting a message back to Contact Form 7’s default means sending the default text. There is no “reset” flag.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
form_id | integer | Yes | Form post ID, as returned by contact-form-7/list-forms. |
messages | object | Yes | Message slug => new text. At least one entry. |
What comes back
| Name | Type | What it is |
|---|---|---|
form_id | integer | The form that was written. |
updated | array | Which message slugs actually changed. |
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:
Change form 42’s success message to “Thanks — we’ll reply within one working day.”
It resolves to one call:
{
"ability": "contact-form-7/update-messages",
"parameters": {
"form_id": 42,
"messages": {
"mail_sent_ok": "Thanks — we’ll reply within one working day."
}
}
}Worth knowing
- An unrecognised slug is refused. That is deliberate — it makes a typo visible.
- Idempotent, so retrying after a dropped connection is safe.
- Messages are plain text as far as visitors are concerned. Do not rely on markup in them.
Related abilities
- Get Contact Form Messages — the valid slugs and current text
- Update Contact Form — replace the whole message set at once
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category