MCPMCP-Tools/Verbindungen/list_ad_accounts

list_ad_accounts

Readconnections:read

List a connected account's ad accounts (Facebook/Instagram/LinkedIn/TikTok paid-social accounts pulled in via the connection), showing which one is currently selected for boosting posts. Use this before select_ad_account or create_boost_config.

Parameter
connectionIdstringerforderlich
The id of the connected account (required).
Beispielanfrage
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_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.