Meta: List Ad Accounts
meta_list_ad_accountsList the Meta (Facebook/Instagram) ad accounts connected to this account, including which of them this user can actually change (as opposed to only read) and, when the connection allows it, which Business owns each one. To work in an account, pass its id or name as ad_account_id to any other tool — no dashboard change needed. Filter with name_contains when the list is long.
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": "meta_list_ad_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_contains | No | Only accounts whose name, id or Business name contains this text, ignoring case. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adAccounts | Yes | Connected Meta ad accounts. | |
| allSwitchedOff | Yes | True when every ad account this connection reaches is unticked, so nothing here can be read or changed until the user switches one back on. | |
| switchedOffCount | Yes | Ad accounts this connection reaches that the user unticked on the connections page, so they are left out of the list entirely. |