Meta: List Ads
meta_list_adsList individual ads in a Meta ad account with their id, name, and delivery status. Filter by campaign, ad set, or a name fragment. Use this to find the ad id for meta_set_status or for meta_get_insights at ad level.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "meta_list_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adset_id | No | Only ads in this ad set. | |
| campaign_id | No | Only ads in this campaign. | |
| ad_account_id | No | Meta ad account to read: act_ id or account name (from meta_list_ad_accounts). Pass it whenever the conversation is about a particular account; omitted, the only account or the stored default is used. | |
| name_contains | No | Only ads whose name contains this text (ignores case). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ads | Yes | Matching ads, empty when none match. | |
| adAccountId | Yes | Ad account the ads belong to. |