update_variable
Modify existing variables in Google Tag Manager to adjust tracking parameters, update configurations, or change data collection settings within your workspace.
Instructions
既存の変数を更新します
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": {
"accountId": "<accountId>",
"containerId": "<containerId>",
"workspaceId": "<workspaceId>",
"variableId": "<variableId>"
},
"name": "update_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | アカウントID | |
| containerId | Yes | コンテナID | |
| workspaceId | Yes | ワークスペースID | |
| variableId | Yes | 変数ID | |
| name | No | 変数名 | |
| type | No | 変数タイプ | |
| parameter | No | 変数のパラメータ配列 |