{
"name": "searchapi_ebay_search",
"description": "eBay Search 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."
},
"ebay_domain": {
"type": "string",
"description": "eBay marketplace domain to query, e.g. ebay.com, ebay.de.",
"default": "ebay.com"
},
"buying_format": {
"type": "string",
"description": "Buying format filter.",
"enum": [
"all",
"auction",
"buy_it_now",
"accepts_offers"
]
},
"condition": {
"type": "string",
"description": "Item condition filter, e.g. new, used, open_box."
},
"price_min": {
"type": "integer",
"description": "Minimum price filter."
},
"price_max": {
"type": "integer",
"description": "Maximum price filter."
},
"sort_by": {
"type": "string",
"description": "Order of the results, e.g. best_match, price_asc, price_desc."
},
"page": {
"type": "integer",
"description": "Page number of the results.",
"default": 1
}
},
"required": [
"q"
],
"examples": [
{
"q": "coffee"
}
]
}
}
この定義を自分のエージェントのツール配列に貼り付けてください。スキーマはこのエンジンのカタログ登録内容から生成され、設定した値はスキーマの examples に入ります。名前は MCP サーバーのものではなく私たちが決めたもので — あなたのエージェントが呼び出す名前です — どのエンジンも searchapi_ を接頭辞に持ちます。