get_ad_accounts
Retrieve ad accounts accessible by a Meta user, with spent amounts and balances returned in currency units. Use it to list and inspect accounts for campaign and budget work.
Instructions
Get ad accounts accessible by a user.
amount_spent and balance are returned in currency units (e.g. USD dollars),
not cents.
Args:
access_token: Meta API access token (optional - will use cached token if not provided)
user_id: Meta user ID or "me" for the current user
limit: Maximum number of accounts to return (default: 200)
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": "get_ad_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| user_id | No | me | |
| access_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |