MCPMCP Tools/Connections/sync_ad_accounts

sync_ad_accounts

Writeconnections:write

Re-fetch a connected account's ad accounts from the platform (Facebook/Instagram/LinkedIn/TikTok), refreshing names/status/currency and picking up newly-granted accounts. Runs automatically on connect and daily; call this to force an immediate refresh. Returns the refreshed list.

Parameters
connectionIdstringrequired
The id of the connected account (required).
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "sync_ad_accounts",
    "arguments": {
      "connectionId": "string"
    }
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.