hermosodocs

archive_meta_lead_form

Archive (or restore) a Meta instant form destructive

Area: META LEAD ADS · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
formIdrequiredstringthe form to retire (from list_meta_lead_forms)
status"ARCHIVED" | "ACTIVE"default ARCHIVED; "ACTIVE" restores a form that was archived
pageIdstringwhich connected Page (required only if the profile has more than one)
confirmbooleanmust 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.

All 759 Ad campaign management tools · tools.json