List Business Profile accounts
list_accountsList accessible Google Business Profile accounts, starting with the personal account. Paginate with nextPageToken, filter by type, and include sub-accounts. Returns account name, type, role, and verification status.
Instructions
Lists all Google Business Profile accounts the authenticated user can access (the personal account first). Each account has name (accounts/{id} — the id feeds the accountId of other tools), accountName, type (PERSONAL / LOCATION_GROUP / USER_GROUP / ORGANIZATION), role, and verificationState. The API caps pageSize at 20 (unusually small), so follow nextPageToken to see every account.
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": "list_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter expression, e.g. "type=USER_GROUP". Omit to list every account. | |
| pageSize | No | Accounts per page (1..20 — the API's hard cap; default 20). | |
| pageToken | No | nextPageToken from the previous page. | |
| parentAccount | No | Account id or accounts/{id}: list this account's sub-accounts instead of top-level ones. |