List ad accounts
ads_list_accountsList the ad accounts an ads connection can reach: Meta ad accounts (act_), directly or through a Business portfolio, or TikTok advertisers () for a tiktok_ads account. Every other ads tool takes an adAccountId from here.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ads_list_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | meta_ads, tiktok_ads or linkedin_ads. Needed only when the profile has more than one ad network and no accountId is given. | |
| accountId | No | The Facebook accountId from list_accounts. Without it, pass profileId to use that profile's Facebook connection. | |
| profileId | No | A profileId from list_profiles. Optional when accountId is given, which names its profile; if both are given they must agree. |