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

# Move Entities To Folder

> Moves tags, triggers, and variables into a Google Tag Manager folder by their IDs

Moves tags, triggers, and variables into a Google Tag Manager folder by their IDs.

|                       |                               |
| --------------------- | ----------------------------- |
| **App**               | Google Tag Manager            |
| **Operation ID**      | `gtm_move_entities_to_folder` |
| **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.                                                    |
| `folder`       | DynamicAccount                                          | Yes      | -       | Select the destination folder, or provide its folder ID.                 |
| `tag_ids`      | array of string (also accepts a comma-separated string) | No       | -       | Tag IDs to move into the folder, as a list or comma-separated text.      |
| `trigger_ids`  | array of string (also accepts a comma-separated string) | No       | -       | Trigger IDs to move into the folder, as a list or comma-separated text.  |
| `variable_ids` | array of string (also accepts a comma-separated string) | No       | -       | Variable IDs to move into the folder, as a list or comma-separated text. |

## Output

**Type**: `Dict`

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