Meta: Create Custom Audience
meta_create_audienceCreate a custom audience in your Meta ad account: CUSTOMER_LIST (empty, then add people with meta_update_audience_users), WEBSITE (visitors your pixel saw in the last retention_days, optionally only URLs containing url_contains or one pixel event), ENGAGEMENT (people who engaged with your Facebook Page or Instagram account), or LOOKALIKE (people similar to an audience you already have, in one country). It reaches no one and spends nothing until an ad set targets it. See meta_list_audiences.
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": {
"audience_type": "<audience_type>",
"name": "<name>"
},
"name": "meta_create_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Audience name. | |
| ratio | No | LOOKALIKE: share of the country's population, 0.01 (closest) to 0.20. Default 0.01. | |
| country | No | LOOKALIKE: ISO country code, e.g. US. | |
| pixel_id | No | WEBSITE: pixel. Defaults to the account's pixel. | |
| source_id | No | ENGAGEMENT: Page id (defaults to the account's Page) or Instagram account id (see meta_list_instagram_accounts). | |
| description | No | Optional description. | |
| pixel_event | No | WEBSITE: only people who fired this pixel event, e.g. Purchase, Lead. | |
| url_contains | No | WEBSITE: only visits to URLs containing this text. | |
| ad_account_id | No | Meta ad account to change: act_ id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then. | |
| audience_type | Yes | Kind of audience. | |
| retention_days | No | WEBSITE (1-180) or ENGAGEMENT (1-365): look-back window. Default 30. | |
| engagement_source | No | ENGAGEMENT: PAGE or INSTAGRAM. | |
| origin_audience_id | No | LOOKALIKE: audience to model on. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audienceId | Yes | Id of the new audience. | |
| adAccountId | Yes | Ad account the audience belongs to. | |
| audienceType | Yes | Kind of audience. |