meta_ads_library
Search Meta Ads Library for competitor Facebook and Instagram ads, returning advertiser, ad copy, platforms, dates, and public ad links with cursor-based pagination.
Instructions
Search the Meta Ads Library for competitor ads on Facebook and Instagram.
Returns one page of ads: advertiser page name, creation date, ad copy, link titles and captions, the platforms
it ran on, and a link to the ad's public Ad Library page. `next_cursor` is set when more ads exist; pass it back
as `cursor` (with the same query and country) for the next page.
Args:
query: Brand or keyword to search (e.g. "Nike", "best crm software")
country: Two-letter country code (default: "US")
limit: Max ads per page (default: 25, max: 25)
cursor: next_cursor from a previous call, for the next page
[Provider: Meta Ad Library API]
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": {
"query": "<query>"
},
"name": "meta_ads_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| cursor | No | ||
| country | No | US |