accounts_list
Retrieve all Google Tag Manager accounts available to the authenticated user, including account IDs, names, and share-data flags, with optional Google Tags results and pagination.
Instructions
List all GTM accounts accessible to the authenticated user. Returns account IDs, names, and share-data flags.
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": "accounts_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxPages | No | Maximum number of API pages to fetch (default 50). If more pages remain, the result includes truncated:true and a nextPageToken. | |
| pageToken | No | Continuation token to resume listing from a previous truncated result. | |
| includeGoogleTags | No | Also include results from the Google Tags accounts. |