List locations of an account
list_locationsLists business locations for a Google account. Filter by title, sort, paginate, and select specific fields like mapsUri, placeId, and newReviewUri to manage locations or feed other tools.
Instructions
Lists the business locations under an account (Business Information API). Each location's name is locations/{id} — that id feeds locationId everywhere else (including the Performance API and, together with the account id, the v4 reviews/posts tools). totalSize is only present when filter is set. Fields are limited by readMask; ask for metadata to get mapsUri/placeId/newReviewUri.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter expression, e.g. 'title="Coffee Corner"'. Also enables totalSize in the response. | |
| orderBy | No | Sort order, e.g. "title" or "title, storeCode desc". | |
| pageSize | No | Locations per page (1..100; default 10). | |
| readMask | No | Comma-separated FieldMask of Location fields to return, e.g. "name,title,storefrontAddress,regularHours,metadata". The API requires it; omit to use the default "name,title,storefrontAddress,phoneNumbers,categories,websiteUri,metadata". | |
| accountId | Yes | Account id — bare "123" or "accounts/123" (get it from list_accounts). | |
| pageToken | No | nextPageToken from the previous page. |