Meta Ads: Create pixel
meta_create_pixelNeues Meta-Pixel (Dataset) im Ad-Account anlegen — liefert Pixel-ID und den Basis-Einbau-Code (JS-Snippet) für die Website.
Achtung: Pixel lassen sich per API nicht löschen — vorher mit meta_list_pixels prüfen, ob schon eines existiert. workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "meta_create_pixel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||