> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync Workspace

> Syncs a Google Tag Manager workspace with the latest container version, pulling in changes published from other workspaces

Syncs a Google Tag Manager workspace with the latest container version, pulling in changes published from other workspaces. Reports merge conflicts to resolve with gtm\_resolve\_workspace\_conflict.

| | |
| - | - |
| **App** | Google Tag Manager |
| **Operation ID** | `gtm_sync_workspace` |
| **Type** | Action |
| **Connection** | `gtm` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. |
| `container` | DynamicAccount | Yes | - | Select the container. |
| `workspace` | DynamicAccount | Yes | - | Select the workspace to sync with the latest container version. Any merge conflicts are reported in the output; resolve them with gtm\_resolve\_workspace\_conflict. |

## Output

**Type**: `Dict`

Returns syncStatus and any mergeConflict entries as provided by the Tag Manager API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.