MCPOutils MCP/Fiches/resolve_duplicate_listing
resolve_duplicate_listing
Writelistings:write
Resolve duplicate listings for a location (from get_duplicate_listings). Pass the duplicate listing id(s) and an action: "flag" requests the publisher remove the duplicate (marks it for removal — a background job then submits the removal to that directory), or "dismiss" marks them "not a duplicate" so they stop showing up. This acts on duplicates currently detected OR previously failed to suppress (a failed suppression can be retried via "flag"); ids already flagged/removed/dismissed (or not yours) are returned in `skipped`. Returns { updated, skipped }. You don't pass an agency — it comes from your credentials.
Paramètres
duplicateListingIdsstring[]obligatoire
The duplicate listing id(s) to resolve (from get_duplicate_listings).
action"flag" | "dismiss"obligatoire
"flag" (request removal from the publisher) or "dismiss" (mark not a duplicate).
clientIdstringfacultatif
Optional: narrow to a single client for extra safety (from list_clients).
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "resolve_duplicate_listing",
"arguments": {
"duplicateListingIds": [
"string"
],
"action": "flag"
}
}
}Exemple de réponse
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.