> ## 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.

# Resolve Workspace Conflict

> Resolves one merge conflict in a Google Tag Manager workspace by submitting the entity in its desired resolved state

Resolves one merge conflict in a Google Tag Manager workspace by submitting the entity in its desired resolved state. Get conflicts from gtm\_sync\_workspace or gtm\_get\_workspace\_status.

|                       |                                  |
| --------------------- | -------------------------------- |
| **App**               | Google Tag Manager               |
| **Operation ID**      | `gtm_resolve_workspace_conflict` |
| **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 with the merge conflict.                                                                                                                                                                                                                                                                                                                                                                                                       |
| `entity_payload` | object or string | Yes      | -       | Resolved Entity (object or JSON string) matching the Google Tag Manager API v2 Entity spec: exactly one entity key (tag, trigger, variable, folder, client, transformation, zone, gtagConfig, or builtInVariable) holding the entity in its desired resolved state, plus changeStatus. Take the entity from a mergeConflict entry returned by gtm\_sync\_workspace or gtm\_get\_workspace\_status, edit it to the state you want, and pass it here. |
| `fingerprint`    | string           | No       | -       | Optional fingerprint of the entity\_in\_workspace from the mergeConflict entry. When provided, the resolve only succeeds if the workspace entity has not changed since.                                                                                                                                                                                                                                                                             |

## Output

**Type**: `Dict`

Returns \{resolved: true} on success (the API returns an empty body).
