{
"name": "searchapi_linkedin_ad_library",
"description": "LinkedIn Ad Library results from SearchApi, as structured JSON.",
"input_schema": {
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Search query; most engines accept native operators and advanced filters."
},
"company": {
"type": "string",
"description": "Advertiser/company name filter."
},
"country": {
"type": "string",
"description": "Country the ads were shown in."
},
"next_page_token": {
"type": "string",
"description": "Opaque token from the previous response that fetches the next page."
}
},
"required": []
}
}
この定義を自分のエージェントのツール配列に貼り付けてください。スキーマはこのエンジンのカタログ登録内容から生成され、設定した値はスキーマの examples に入ります。名前は MCP サーバーのものではなく私たちが決めたもので — あなたのエージェントが呼び出す名前です — どのエンジンも searchapi_ を接頭辞に持ちます。