Tecrübetecrube.com
Tool reference — Data & Site

Tag Manager tools

Containers, workspaces, tags, triggers, variables, version publishing and rollback.

Tool names and descriptions are generated straight from the server code; the descriptions are the original English text the assistant sees.

Read tools8 tools

list_gtm_containers

Leitura1 credits

Google Tag Manager accounts and containers the connected Google user can access (id, GTM-XXXX public id, name). Read only.

ParameterTypeDescription
account_idOptionalstring—

list_gtm_workspaces

Leitura1 credits

Workspaces of a GTM container. Read only.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—

list_gtm_tags

Leitura1 credits

Tags in a GTM workspace with type, parameters and firing triggers; flags tags that have no trigger (never fire) and paused tags. Read only.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
workspaceOptionalstringworkspace id or name; default: Default Workspace

list_gtm_triggers

Leitura1 credits

Triggers in a GTM workspace with type and conditions. Read only.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
workspaceOptionalstringworkspace id or name; default: Default Workspace

list_gtm_variables

Leitura1 credits

User-defined and enabled built-in variables in a GTM workspace. Read only.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
workspaceOptionalstringworkspace id or name; default: Default Workspace

list_gtm_versions

Leitura1 credits

Container versions (newest first) and the currently live version. Use before revert_gtm_version. Read only.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
limitOptionalinteger (1–100)—

list_gtm_permissions

Leitura1 credits

Who has access to a GTM account and at which level per container (read, edit, approve, publish). Read only.

ParameterTypeDescription
account_idOptionalstring—

verify_gtm_conversion_tag

Leitura3 credits

Audit: is there a Google Ads conversion tag (awct) attached to a thank-you-page trigger, and is a conversion linker present? Checks the live version by default. Read only.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
workspaceOptionalstringworkspace id or name; default: Default Workspace
sourceOptionallive | workspace—
thank_you_pathOptionalstringURL fragment of the thank-you page, e.g. /tesekkurler

Write tools9 tools

create_gtm_workspace

Escrita2 credits

Create a GTM workspace. Opens an approval item with a preview; created only after approval.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
nameRequiredstring—
descriptionOptionalstring—

Write tool: the call first produces a preview; the change reaches the platform only after you approve it.

create_gtm_tag

Escrita2 credits

Create a GTM tag (GA4 event, Google Ads conversion, conversion linker, Google tag or custom HTML) in a workspace. Preview shows the exact GTM body; applied after approval; nothing is live until publish_gtm_version.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
workspaceOptionalstringworkspace id or name; default: Default Workspace
nameRequiredstring—
kindRequiredga4_event | ads_conversion | conversion_linker | google_tag | html—
paramsOptionalobjectga4_event: event_name, measurement_id (G-…), event_parameters {name: value or {{Variable}}}, send_ecommerce_data. ads_conversion: conversion_id (AW-… or digits), conversion_label, value, currency, order_id. google_tag: tag_id. html: html.
firing_trigger_idsOptionalarray<string>—
firing_trigger_namesOptionalarray<string>trigger names (e.g. 'All Pages') resolved to ids on apply
notesOptionalstring—

Write tool: the call first produces a preview; the change reaches the platform only after you approve it.

create_gtm_trigger

Escrita2 credits

Create a GTM trigger (page view, custom event, click, form submission, …) with optional conditions. Approval item with preview.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
workspaceOptionalstringworkspace id or name; default: Default Workspace
nameRequiredstring—
kindOptionalclick | custom_event | dom_ready | element_visibility | form_submission | history_change | js_error | link_click | page_view | pageview | scroll_depth | timer | window_loaded—
event_nameOptionalstringfor kind=custom_event
page_pathOptionalstringshortcut: fire only when Page URL contains this
conditionsOptionalarray<object>—
wait_for_tagsOptionalboolean—
notesOptionalstring—

Write tool: the call first produces a preview; the change reaches the platform only after you approve it.

create_gtm_variable

Escrita2 credits

Create a user-defined GTM variable (data layer, constant, cookie, URL, JavaScript, DOM element, lookup table). Approval item with preview.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
workspaceOptionalstringworkspace id or name; default: Default Workspace
nameRequiredstring—
kindOptionalauto_event | constant | cookie | custom_js | data_layer | dom_element | javascript | lookup_table | url—
paramsOptionalobjectdata_layer: data_layer_name, version, default_value. constant: value. javascript/cookie: name. url: component, query_key. custom_js: javascript. dom_element: element_id or selector, attribute. lookup_table: input, table.
notesOptionalstring—

Write tool: the call first produces a preview; the change reaches the platform only after you approve it.

enable_gtm_builtin_variables

Escrita2 credits

Enable built-in GTM variables (Click URL, Form ID, Page Path, …) in a workspace. Approval item.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
workspaceOptionalstringworkspace id or name; default: Default Workspace
variablesRequiredarray<string>e.g. ['Click URL', 'Form ID', 'Page Path']

Write tool: the call first produces a preview; the change reaches the platform only after you approve it.

publish_gtm_version

Escrita2 credits

Create a named container version from the workspace and publish it live. Riskiest GTM operation: always previewed with the version name and notes, applied only after approval.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
workspaceOptionalstringworkspace id or name; default: Default Workspace
version_nameRequiredstring—
notesOptionalstring—

Write tool: the call first produces a preview; the change reaches the platform only after you approve it.

revert_gtm_version

Escrita2 credits

Re-publish an earlier container version (default: the one before the live version). Approval item; use list_gtm_versions first.

ParameterTypeDescription
containerRequiredstringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idOptionalstring—
version_idOptionalstringomit to go back to the version before the live one

Write tool: the call first produces a preview; the change reaches the platform only after you approve it.

update_gtm_permission

Escrita2 credits

Grant or change a user's Google Tag Manager access: account level (user/admin) and per-container (read, edit, approve, publish, noAccess). Existing users are updated, new e-mails are invited. Preview shows current vs new access; applied only after approval.

ParameterTypeDescription
account_idOptionalstringGTM account id or name; optional with a single account
emailRequiredstring—
account_permissionOptionaluser | admin | noAccess—
containersOptionalarray<object>—
replace_containersOptionalbooleantrue: the list replaces all container access; default merges

Write tool: the call first produces a preview; the change reaches the platform only after you approve it.

remove_gtm_permission

EscritaIrreversible2 credits

Remove a user from a Google Tag Manager account and all of its containers. Preview shows the access being removed; applied only after approval.

ParameterTypeDescription
account_idOptionalstring—
emailRequiredstring—

Write tool: the call first produces a preview; the change reaches the platform only after you approve it.