Open Facebook Page Ads
sonar_ad_spy_open_pageWRITE tool — open a Facebook page from a recent search or scan without linking it to a competitor, and return its ads (same shape and filters as sonar_ad_spy_ads). The ads are fetched when the cached copy is over 24h old. Spends one of the account's daily Ad Spy lookups (today's usage comes back in allowance from sonar_ad_spy_competitors); re-opening the same page, account or ad the same day is free. Past the allowance a refresh returns the cached copy with meta.stale and a meta.note to relay. Requires an Indie or Agency plan (a trial counts) and an authorized Sonar account or an API key with the write scope.
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": {
"page_id": "<page_id>"
},
"name": "sonar_ad_spy_open_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | longest running (default), newest, or most variants. | |
| limit | No | Ads to return (1-300, default 50). | |
| format | No | Only ads in this format. | |
| status | No | active (default) = running now; all = include stopped ads. | |
| page_id | Yes | `page_id` of a candidate from sonar_ad_spy_search_pages or sonar_ad_spy_scan (last 2 days). | |
| min_days | No | Only ads running at least this many days — longevity is the honest 'winner' signal (30/60/90). | |
| history_days | No | Days of daily active/new-ad history (default 30). | |
| include_hidden | No | Include ads this account removed from its scans. |