create_website_audience
Create a custom audience of people who visited your website (from the account's Meta pixel) in the last N days, optionally only pages whose URL contains some text. Pro. WRITES live (audiences cost nothing until used in an ad).
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": {
"meta_account_id": "<meta_account_id>",
"name": "<name>"
},
"name": "create_website_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| pixel_id | No | Optional — defaults to the account's connected pixel. | |
| url_contains | No | Optional — only visitors of URLs containing this text (e.g. 'checkout'). | |
| retention_days | No | 1-180. Default 30. | |
| meta_account_id | Yes |