Search LinkedIn Ad Library ads
linkedin_adLibrary_ads_search_listSearch LinkedIn Ad Library ads by company, keyword, or company id. Optional inputs: company, keyword, companyId, countries, startDate and 2 more. Returns a list (use cursor when paginated). countries is one comma-separated string, e.g. "US,CA", not an array. Costs credits; see meta.creditsCharged.
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": {
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "linkedin_adLibrary_ads_search_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Opaque pagination cursor from a previous response. | |
| company | No | Company name to search for in the LinkedIn Ad Library. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| endDate | No | Optional end date filter in YYYY-MM-DD format. | |
| keyword | No | Keyword or phrase to search for in LinkedIn Ad Library ads. | |
| companyId | No | LinkedIn company id to search for in the Ad Library. | |
| countries | No | Optional comma-separated list of country codes (for example US,CA,MX). | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| startDate | No | Optional start date filter in YYYY-MM-DD format. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. |