gtm_account
Use the action parameter to get, list, or update Google Tag Manager account details by account ID.
Instructions
Performs all account-related operations: get, list, update. Use the 'action' parameter to select the operation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"accountId": "<accountId>"
},
"name": "gtm_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The account operation to perform. Must be one of: 'get', 'list', 'update'. | |
| config | No | Configuration for 'update' action. All fields correspond to the GTM Account resource. | |
| accountId | Yes | The unique ID of the GTM Account. |