create_meta_pixel
Create a Meta Pixel destructive
Description
Create a META PIXEL on one of the brand’s ad accounts, so their ads can optimise for real website conversions instead of link clicks and so website retargeting audiences become possible. A pixel is a DEFINITION: it cannot serve, cannot spend, and RECORDS NOTHING until its snippet is installed on the site — the reply hands back that snippet and says so. TWO THINGS TO SAY OUT LOUD BEFORE CALLING IT: Meta allows exactly ONE pixel per ad account (a second attempt is refused and Hermoso will name the one that already exists — so call list_meta_pixels first), and Meta publishes NO WAY TO DELETE a pixel, so this is permanent. Creating it spends nothing.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountIdrequired | string | the ad account (from list_connector_accounts / list_meta_pages), with or without the act_ prefix |
namerequired | string | what it will be called in Events Manager — name it after the website or brand it measures |
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/create_meta_pixel.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_meta_pixel","arguments":{"adAccountId":"<string>","name":"<string>"}}}
CLI
hermoso call create_meta_pixel --json '{"adAccountId":"<string>","name":"<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
list_meta_pixelsList Meta Pixels on an ad accountget_meta_ad_accountRead a Meta ad account’s billing and statussend_meta_conversionsSend conversions to a Meta pixel (Conversions API)meta_dataset_qualityCheck a Meta pixel’s Conversions API healthset_meta_conversions_autoAutomatic sending to a Meta pixellist_meta_lead_formsList Meta instant (lead) formscreate_meta_lead_formCreate a Meta instant (lead) formarchive_meta_lead_formArchive (or restore) a Meta instant formread_meta_leadsRead Meta lead-ad submissionsdelete_meta_audienceDelete a Meta custom audience