facebook_adLibrary_search_companies
Search Facebook Ad Library pages by company name to retrieve page IDs for ad lookups, plus likes and Instagram details.
Instructions
facebookAdLibrary: Search for Companies. GET /v1/facebook/adLibrary/search/companies. Search Ad Library pages by name and get each page id for /v1/facebook/adLibrary/company/ads, with likes and Instagram details. An empty result costs 0 credits. Costs 1 credit when it succeeds. Costs 0 credits when searchResults is empty. Errors, blocked or timed-out requests, invalid requests and cache hits cost nothing. A not-found or empty result is charged only where that operation's published cost says so.
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": "facebook_adLibrary_search_companies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Company or page name to search for (up to 200 characters). |