MCPOutils MCP/Connexions/reassign_location_connection
reassign_location_connection
Writeconnections:write
Repoint a connected account's location to a different fetched listing from the same connected account (e.g. the wrong Google Business Profile location got matched during connect). The new listing must belong to the same platform. Omit caId for the current account, or pass another account already proven for this client. Identify the connection by its connectionId, and the target by fetchedListingId. Use list_fetched_listings {connectionId: <the account>} to find candidates (pick one with paired: false).
Paramètres
connectionIdstringobligatoire
The id of the location-level connection to repoint (required).
caIdstringfacultatif
Optional source account ID. It must be in this agency, on the same platform, and proven for the same client.
fetchedListingIdstringobligatoire
The id of the fetched listing to reassign to (required).
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "reassign_location_connection",
"arguments": {
"connectionId": "string",
"fetchedListingId": "string"
}
}
}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.