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

# Update Container

> Updates a Google Tag Manager container's name or notes

Updates a Google Tag Manager container's name or notes. Use gtm\_list\_containers to find the container first.

|                       |                        |
| --------------------- | ---------------------- |
| **App**               | Google Tag Manager     |
| **Operation ID**      | `gtm_update_container` |
| **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 to update.        |
| `name`      | string         | No       | -       | New name for the container.            |
| `notes`     | string         | No       | -       | New notes for the container.           |

## Output

**Type**: `Dict`

Returns the updated container as provided by the Tag Manager API.
