Find near-duplicate listings
find_near_duplicatesDetect likely duplicate product listings before adding them by comparing a draft title or product ID against catalog items, using similarity, title overlap, model/part numbers, and platform checks.
Instructions
Find listings that are probably the same item as a product (or a draft title), e.g. one part sold by several sellers.
Each candidate carries the evidence: embedding similarity, title word overlap, shared model or part numbers, and a platform check so a PS5 and a Switch edition of one game count as variants, not duplicates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_near_duplicates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of candidates. | |
| title | No | A new listing title to check against the catalog before adding it. Give this or `product_id`. | |
| product_id | No | Find listings that duplicate this product. Give this or `title`, not both. | |
| same_category | No | Only look in the query product's category. | |
| min_similarity | No | Cosine similarity cut-off (0.5-1.0). 0.85 is a good default; raise it for fewer, surer hits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candidates | Yes | ||
| query_title | Yes | ||
| query_product_id | Yes |