archive_meta_lead_form
Archive (or restore) a Meta instant form destructive
Description
Retire an INSTANT LEAD FORM so it stops collecting — the only way to tidy a Page’s Instant Forms list, because META DOES NOT SUPPORT DELETING A LEAD FORM AT ALL, only archiving it. This is REVERSIBLE: pass status:"ACTIVE" to switch an archived form back on. Archiving publishes nothing, spends nothing and DELETES NO LEADS — everything the form already collected stays readable with read_meta_leads. CALL IT WITHOUT confirm FIRST: nothing changes and you get the form’s real name, current status and lead count READ BACK FROM META, so you can show the user exactly which form they are about to retire rather than echoing back an id they may have mistyped; then call again with confirm:true. WARNING WORTH RELAYING BEFORE ARCHIVING: if a live ad still points at this form, its button will open nothing — check the ad first. The new status is READ BACK from Meta after the change, so the summary reports what Meta actually stored and says plainly when the change did NOT take; print it verbatim rather than assuming a successful call means a changed form.
Parameters
| Parameter | Type | Description |
|---|---|---|
formIdrequired | string | the form to retire (from list_meta_lead_forms) |
status | "ARCHIVED" | "ACTIVE" | default ARCHIVED; "ACTIVE" restores a form that was archived |
pageId | string | which connected Page (required only if the profile has more than one) |
confirm | boolean | must be true to actually change it — without it nothing changes and you get the read-back to show the user |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/archive_meta_lead_form.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"archive_meta_lead_form","arguments":{"formId":"<string>"}}}
CLI
hermoso call archive_meta_lead_form --json '{"formId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
read_meta_leadsRead Meta lead-ad submissionscreate_meta_lead_formCreate a Meta instant (lead) formlist_meta_lead_formsList Meta instant (lead) formsdelete_meta_audienceDelete a Meta custom audienceset_meta_conversions_autoAutomatic sending to a Meta pixelmeta_dataset_qualityCheck a Meta pixel’s Conversions API healthsend_meta_conversionsSend conversions to a Meta pixel (Conversions API)create_meta_pixelCreate a Meta Pixelget_meta_ad_accountRead a Meta ad account’s billing and statuslist_meta_pixelsList Meta Pixels on an ad account