MCPMCP-Tools/Verbindungen/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.

Parameter
connectionIdstringerforderlich
The id of the connected account (required).
Beispielanfrage
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "sync_ad_accounts",
    "arguments": {
      "connectionId": "string"
    }
  }
}
Beispielantwort
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.