Sync GTM Workspace
gtm_sync_workspaceSynchronize a Google Tag Manager workspace with the latest container version to fetch published changes and surface any merge conflicts.
Instructions
Sync a workspace to the latest container version, pulling in changes published since the workspace was created. Reports any merge conflicts.
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": {
"account_id": "<account_id>",
"container_id": "<container_id>",
"workspace_id": "<workspace_id>"
},
"name": "gtm_sync_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | The GTM account ID | |
| container_id | Yes | The GTM container ID | |
| workspace_id | Yes | The GTM workspace ID |