MCPOutils MCP/Connexions/move_connection_to_agency
move_connection_to_agency
Writeconnections:write
Move a client-owned Google or Facebook listing account to agency level, so its listings can be assigned to locations in any client (each location's "Assign a listing" offers the agency's accounts; the picker is list_fetched_listings + assign_listing_to_location). Locations stay connected; nobody reconnects. If the same account is already connected agency-wide, the two merge (the moved row is archived, never deleted). Brand/social accounts and location pairings are refused. Pass dryRun: true to see what would happen (mergeIntoId, locationCount, clientCount) without changing anything. Needs an agency-wide session.
Paramètres
connectionIdstringobligatoire
The client-owned account-level connection (from list_connected_accounts)
dryRunbooleanfacultatif
Only report what would happen
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "move_connection_to_agency",
"arguments": {
"connectionId": "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.