List my ad accounts
Real list of ad accounts the current user can access (one per brand).
Tool name: list-my-ad-accounts.
Real list of ad accounts the current user can access (one per brand). It is the source for which ad account to act on when the user has not named one, typically on the all-accounts dashboard, or when a named account cannot be matched. NEVER invent account names; always call this first and then ask the user to choose from the real options it returns. Read-only. Output is keyed by brandId; connected: false means the brand has no ad account attached.
When to use
Call before any per-account work when account scope is unknown. Its rows are the options to offer the user when in isAllAccountsView mode. Do not hallucinate accounts, only use names returned by this tool.
Access
| Property | Value |
|---|---|
| Required scope | read |
| Publishes | No |
| Read-only | Yes |
| Destructive | No |
| Idempotent | Yes |
| Open world | No |
Input
| Field | Type | Required | Description |
|---|---|---|---|
cursor | string | No | Opaque cursor from the previous page's nextCursor. Omit for the first page. |
limit | integer | No | Rows per page, 1-100. Defaults to 50 when paging. Minimum 1, maximum 100. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
accounts | object[] | Yes | |
nextCursor | string | null | Yes | Pass as cursor to read the next page. Null when there is no next page. |
REST equivalent
GET /v1/brands, List my ad accounts. CLI: koast list-my-ad-accounts.