folders_move_entities
Move GTM tags, triggers, and variables into a destination folder; requires write access enabled and per-call confirmation.
Instructions
[WRITE] Move tags/triggers/variables into a folder. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.
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": {
"accountId": "<accountId>",
"containerId": "<containerId>",
"workspaceId": "<workspaceId>",
"folderId": "<folderId>",
"confirm": "<confirm>"
},
"name": "folders_move_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagId | No | Tag IDs to move. | |
| confirm | Yes | ||
| folderId | Yes | The destination folder ID. | |
| accountId | Yes | ||
| triggerId | No | Trigger IDs to move. | |
| variableId | No | Variable IDs to move. | |
| containerId | Yes | ||
| workspaceId | Yes |